Skip to content
Snippets Groups Projects
Unverified Commit 89b096aa authored by Michael Clark's avatar Michael Clark Committed by GitHub
Browse files

:electron: Fix export on mac (#3250)

* fix export on mac

* add release notes
parent ee0156d3
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ export function closeDatabase(db: SQL.Database) {
export async function exportDatabase(db: SQL.Database) {
// electron does not support better-sqlite serialize since v21
// save to file and read in the raw data.
const name = `backup-for-export-${uuidv4()}.db`;
const name = `${process.env.ACTUAL_DATA_DIR}/backup-for-export-${uuidv4()}.db`;
await db.backup(name);
......
---
category: Bugfix
authors: [MikesGlitch]
---
Fix Export on Mac desktop app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment