Skip to content

Commit

Permalink
macos
Browse files Browse the repository at this point in the history
  • Loading branch information
caorushizi committed Jan 14, 2024
1 parent c9be688 commit fa8d4be
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 54 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
*.local
.idea
.parcel-cache
.vitepress
1 change: 1 addition & 0 deletions packages/main/bin/darwin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Downloads
Logs
server*
2 changes: 1 addition & 1 deletion packages/main/bin/win32/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Downloads
Logs

server.exe*
server*
49 changes: 0 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions scripts/build-server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ const platform = os.platform();

let GOOS = "";
let GOARCH = "amd64";
let filename = "../packages/main/bin/win32/server";
let filename = `../packages/main/bin/${platform}/server`;

if (platform == "linux") {
GOOS = "linux";
} else if (platform == "darwin") {
if (platform == "darwin") {
GOOS = "darwin";
} else if (platform == "win32") {
GOOS = "windows";
Expand Down

0 comments on commit fa8d4be

Please sign in to comment.