mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-29 02:27:31 +00:00
more slash fixes
This commit is contained in:
parent
f4b506435d
commit
a5303e7192
@ -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`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user