Skip to content

Commit

Permalink
more fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Nov 29, 2023
1 parent a3a421f commit 8e8026a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,12 @@ function startServerProcess(owner, repo) {
let serverProcess
if (isDevelopment) {
let args = ["--server", game_dir]
console.error(`debugging: ${__dirname}, ${game_dir}`)
serverProcess = cp.spawn("./gameserver", args,
{ cwd: path.join(__dirname, "./.lake/build/bin/") })
} else {
serverProcess = cp.spawn("./bubblewrap.sh",
[game_dir, path.join(__dirname, '..')],
{ cwd: path.join(__dirname, '..') })
{ cwd: __dirname })
}
serverProcess.on('error', error =>
console.error(`Launching Lean Server failed: ${error}`)
Expand Down

0 comments on commit 8e8026a

Please sign in to comment.