mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 01:58:40 -05:00
:electron: Fix export on mac (#3250)
* fix export on mac * add release notes
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
6
upcoming-release-notes/3250.md
Normal file
6
upcoming-release-notes/3250.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MikesGlitch]
|
||||
---
|
||||
|
||||
Fix Export on Mac desktop app
|
||||
Reference in New Issue
Block a user