fix:修复备份恢复完成后可能无权限清理临时目录 (#2247)
This commit is contained in:
parent
79c7c3dc1c
commit
bfeca0b383
@ -131,6 +131,7 @@ class BackupManager {
|
||||
Logger.log('[backup] step 4: clean up temp directory')
|
||||
|
||||
// 清理临时目录
|
||||
await this.setWritableRecursive(this.tempDir)
|
||||
await fs.remove(this.tempDir)
|
||||
|
||||
Logger.log('[backup] step 5: Restore completed successfully')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user