mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-15 19:22:31 +08:00
fix substore backup error
This commit is contained in:
parent
21418954c1
commit
78106b0ad3
|
@ -5,3 +5,4 @@
|
|||
### Bug Fixes
|
||||
|
||||
- 修复url-test代理组节点无法取消固定的问题
|
||||
- 修复WebDAV备份时Sub-Store目录备份失败的问题
|
||||
|
|
|
@ -9,6 +9,7 @@ import {
|
|||
overrideDir,
|
||||
profileConfigPath,
|
||||
profilesDir,
|
||||
subStoreDir,
|
||||
themesDir
|
||||
} from '../utils/dirs'
|
||||
|
||||
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user