diff --git a/resources/js/gcdownloader.js b/resources/js/gcdownloader.js index e461cfd..8244c71 100644 --- a/resources/js/gcdownloader.js +++ b/resources/js/gcdownloader.js @@ -43,7 +43,7 @@ async function downloadGC(branch) { config.grasscutterBranch = branch // Set gc path for people with launcher enabled - config.serverFolder = `${NL_CWD}/gc-${branch}/grasscutter.jar` + config.serverFolder = `${NL_CWD}\\gc-${branch}\\grasscutter.jar` // Enable server launcher config.serverLaunchPanel = true @@ -74,6 +74,9 @@ async function downloadGC(branch) { // Ensure data and key folders exist + console.log(config.serverFolder) + console.log(serverFolderFixed) + await Neutralino.os.execCommand(`mkdir ${serverFolderFixed}\\data`) await Neutralino.os.execCommand(`mkdir ${serverFolderFixed}\\keys`)