1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00

windows octoserver.exe path

This commit is contained in:
Chen-I Lim 2021-01-20 15:23:33 -08:00
parent c614e727c2
commit 12f5321107
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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")