mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-16 04:45:34 +00:00
disallow unset paths
This commit is contained in:
parent
b4ac33ebaa
commit
85eba69a63
@ -412,6 +412,8 @@ async function setGameExe() {
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (!gameexe[0]) return;
|
||||||
|
|
||||||
// Set the folder in our configuration
|
// Set the folder in our configuration
|
||||||
const config = await getCfg()
|
const config = await getCfg()
|
||||||
|
|
||||||
@ -433,6 +435,8 @@ async function setGrasscutterFolder() {
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (!folder[0]) return;
|
||||||
|
|
||||||
// Set the folder in our configuration
|
// Set the folder in our configuration
|
||||||
const config = await getCfg()
|
const config = await getCfg()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user