mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-08-14 13:11:48 +08:00
disallow unset paths
This commit is contained in:
parent
bc36375990
commit
092424e310
@ -411,6 +411,8 @@ async function setGameExe() {
|
||||
]
|
||||
})
|
||||
|
||||
if (!gameexe[0]) return;
|
||||
|
||||
// Set the folder in our configuration
|
||||
const config = await getCfg()
|
||||
|
||||
@ -432,6 +434,8 @@ async function setGrasscutterFolder() {
|
||||
]
|
||||
})
|
||||
|
||||
if (!folder[0]) return;
|
||||
|
||||
// Set the folder in our configuration
|
||||
const config = await getCfg()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user