Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
fix substore backup error
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Sep 25, 2024
1 parent 0b561a3 commit f319f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
### Bug Fixes

- 修复url-test代理组节点无法取消固定的问题
- 修复WebDAV备份时Sub-Store目录备份失败的问题
3 changes: 2 additions & 1 deletion src/main/resolve/backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
overrideDir,
profileConfigPath,
profilesDir,
subStoreDir,
themesDir
} from '../utils/dirs'

Expand All @@ -24,7 +25,7 @@ export async function webdavBackup(): Promise<boolean> {
zip.addLocalFolder(themesDir(), 'themes')
zip.addLocalFolder(profilesDir(), 'profiles')
zip.addLocalFolder(overrideDir(), 'override')
zip.addLocalFolder(overrideDir(), 'substore')
zip.addLocalFolder(subStoreDir(), 'substore')
const date = new Date()
const zipFileName = `${process.platform}_${dayjs(date).format('YYYY-MM-DD_HH-mm-ss')}.zip`

Expand Down

0 comments on commit f319f24

Please sign in to comment.