From a5303e7192b52da8ab5c845203c3bb1f5e038e86 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Thu, 5 May 2022 21:56:08 -0700 Subject: [PATCH] more slash fixes --- resources/js/gcdownloader.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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`)