[feat] push /home when all preparation is done at launch
This commit is contained in:
@@ -35,6 +35,7 @@ export const useSteamStore = () => {
|
||||
|
||||
return {
|
||||
state,
|
||||
store: steamStore,
|
||||
setDir,
|
||||
setCsDir,
|
||||
setUsers,
|
||||
@@ -74,7 +75,6 @@ const SetCs2DirChecking = (checking: boolean) => {
|
||||
const checkSteamDirValid = async () => {
|
||||
SetSteamDirChecking(true)
|
||||
const pathExist = await invoke<boolean>("check_path", { path: steamStore.state.steamDir })
|
||||
console.log("steamDir", steamStore.state.steamDir, "pathExist", pathExist)
|
||||
setSteamDirValid(pathExist)
|
||||
setTimeout(() => {
|
||||
SetSteamDirChecking(false)
|
||||
@@ -84,7 +84,6 @@ const checkSteamDirValid = async () => {
|
||||
const checkCs2DirValid = async () => {
|
||||
SetCs2DirChecking(true)
|
||||
const pathExist = await invoke<boolean>("check_path", { path: steamStore.state.cs2Dir })
|
||||
console.log("cs2Dir", steamStore.state.cs2Dir, "pathExist", pathExist)
|
||||
setCs2DirValid(pathExist)
|
||||
setTimeout(() => {
|
||||
SetCs2DirChecking(false)
|
||||
|
||||
Reference in New Issue
Block a user