Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
more slash fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed May 6, 2022
1 parent f4b5064 commit a5303e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/js/gcdownloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`)

Expand Down

0 comments on commit a5303e7

Please sign in to comment.