[fix] missing light(shader) setting + tray emit triggers multiple times

This commit is contained in:
Purp1e
2025-03-27 18:19:53 +08:00
parent faec03afb1
commit bbcaf8e0d1
3 changed files with 21 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
addToast({ title: `电源计划已切换 → ${PowerPlans[current].title}` })
})
})
}, [])
// 检测steam路径和游戏路径是否有效
const debounceSteamDir = useDebounce(steam.state.steamDir, {