mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
⚡️ 优化hint
This commit is contained in:
@@ -319,10 +319,12 @@ async function confirmDelCache(): Promise<void> {
|
||||
await fs.removeDir(dir, { recursive: true });
|
||||
}
|
||||
showSnackbar({
|
||||
text: "缓存已清除!请重新启动应用!",
|
||||
text: "缓存已清除!即将退出应用!",
|
||||
});
|
||||
await TGLogger.Info("[Config][confirmDelCache] 缓存清除完成");
|
||||
await TauriProcess.exit();
|
||||
setTimeout(async () => {
|
||||
await TauriProcess.exit();
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
// 恢复默认设置
|
||||
|
||||
Reference in New Issue
Block a user