fix(player): fix go build ldflags parsing on Windows
Split "-ldflags=-s -w" into separate "-ldflags" and "-s -w" args so that "-w" is not misinterpreted as a go build flag when shell mode is enabled on Windows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -54,7 +54,8 @@ export async function buildServerTask() {
|
||||
await runCommand("go", [
|
||||
"build",
|
||||
"-trimpath",
|
||||
"-ldflags=-s -w",
|
||||
"-ldflags",
|
||||
"-s -w",
|
||||
"-o",
|
||||
SERVER_BINARY_PATH,
|
||||
"./cmd/server",
|
||||
|
||||
Reference in New Issue
Block a user