mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-22 07:08:11 +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
|
||||
|
||||
// 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`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user