diff --git a/package.json b/package.json index 3f9ab5dc..9161dfd7 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build:plugin": "pnpm -F plugin run build", "build:main": "pnpm -F main run build", "build:renderer": "pnpm -F renderer run build", - "build:server": "cd internal && cross-env GIN_MODE=release go build -o ../packages/main/bin/win32/server.exe", + "build:server": "cd internal && go install && cross-env GIN_MODE=release go build -o ../packages/main/bin/win32/server.exe", "pack": "pnpm -F media-downloader run pack", "release": "pnpm run build && pnpm -F main run release", "docs:dev": "vitepress dev docs",