diff --git a/Makefile b/Makefile index 84071f1d8..029f472f5 100644 --- a/Makefile +++ b/Makefile @@ -119,8 +119,8 @@ mac-app: server-mac webapp win-app: server-win webapp cd win; make build - mkdir -p win/temp/bin - cp -R bin/win/octoserver.exe win/temp/bin + mkdir -p win/temp + cp -R bin/win/octoserver.exe win/temp cp -R app-config.json win/temp/config.json cp -R webapp/pack win/temp/pack mkdir -p win/dist diff --git a/win/main.go b/win/main.go index eaba07e00..742ad8ce3 100644 --- a/win/main.go +++ b/win/main.go @@ -11,8 +11,8 @@ import ( ) func runOctoTasks(ctx context.Context) *exec.Cmd { - // cmd := exec.CommandContext(ctx, "bin/octoserver.exe", "--monitorpid", strconv.FormatInt(int64(os.Getpid()), 10)) - cmd := exec.CommandContext(ctx, "bin/octoserver.exe", "--single-user") + // cmd := exec.CommandContext(ctx, "octoserver.exe", "--monitorpid", strconv.FormatInt(int64(os.Getpid()), 10), "--single-user") + cmd := exec.CommandContext(ctx, "octoserver.exe", "--single-user") // cmd := exec.CommandContext(ctx, "cmd.exe", "/C", "start", "./bin/octoserver.exe", "--monitorpid", strconv.FormatInt(int64(os.Getpid()), 10)) // cmd := exec.CommandContext(ctx, "cmd.exe", "/C", "start", "./bin/octoserver.exe")