You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-09-16 08:56:19 +02:00
Move octoserver.exe to bin
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -51,3 +51,4 @@ mac/dist
|
||||
linux/bin
|
||||
linux/dist
|
||||
linux/temp
|
||||
win/dist
|
||||
|
3
Makefile
3
Makefile
@@ -56,7 +56,8 @@ mac-app: server webapp
|
||||
|
||||
win-app: server-win64 webapp
|
||||
cd win; make build
|
||||
cp -R bin/octoserver.exe win/dist
|
||||
mkdir -p win/dist/bin
|
||||
cp -R bin/octoserver.exe win/dist/bin
|
||||
cp -R config.json win/dist
|
||||
mkdir -p win/dist/webapp
|
||||
cp -R webapp/pack win/dist/webapp/pack
|
||||
|
@@ -11,10 +11,10 @@ import (
|
||||
)
|
||||
|
||||
func runOctoTasks(ctx context.Context) *exec.Cmd {
|
||||
// cmd := exec.CommandContext(ctx, "octoserver.exe", "--monitorpid", strconv.FormatInt(int64(os.Getpid()), 10))
|
||||
cmd := exec.CommandContext(ctx, "octoserver.exe")
|
||||
// cmd := exec.CommandContext(ctx, "cmd.exe", "/C", "start", "./octoserver.exe", "--monitorpid", strconv.FormatInt(int64(os.Getpid()), 10))
|
||||
// cmd := exec.CommandContext(ctx, "cmd.exe", "/C", "start", "./octoserver.exe")
|
||||
// cmd := exec.CommandContext(ctx, "bin/octoserver.exe", "--monitorpid", strconv.FormatInt(int64(os.Getpid()), 10))
|
||||
cmd := exec.CommandContext(ctx, "bin/octoserver.exe")
|
||||
// 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")
|
||||
|
||||
// cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
||||
cmd.Stdout = os.Stdout
|
||||
|
Reference in New Issue
Block a user