more slash fixes

This commit is contained in:
SpikeHD 2022-05-05 21:56:08 -07:00
parent f4b506435d
commit a5303e7192

View File

@ -43,7 +43,7 @@ async function downloadGC(branch) {
config.grasscutterBranch = branch config.grasscutterBranch = branch
// Set gc path for people with launcher enabled // 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 // Enable server launcher
config.serverLaunchPanel = true config.serverLaunchPanel = true
@ -74,6 +74,9 @@ async function downloadGC(branch) {
// Ensure data and key folders exist // 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}\\data`)
await Neutralino.os.execCommand(`mkdir ${serverFolderFixed}\\keys`) await Neutralino.os.execCommand(`mkdir ${serverFolderFixed}\\keys`)