diff --git a/resources/js/index.js b/resources/js/index.js index 20e0502..acbd062 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -412,6 +412,8 @@ async function setGameExe() { ] }) + if (!gameexe[0]) return; + // Set the folder in our configuration const config = await getCfg() @@ -433,6 +435,8 @@ async function setGrasscutterFolder() { ] }) + if (!folder[0]) return; + // Set the folder in our configuration const config = await getCfg()