disallow unset paths

This commit is contained in:
SpikeHD 2022-05-01 23:17:23 -07:00
parent b4ac33ebaa
commit 85eba69a63

View File

@ -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()