Skip to content

Commit

Permalink
wip: fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jul 2, 2024
1 parent 35acd6f commit 77a4b93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
yarn
yarn --cwd webui install
yarn dist
yarn dist linux-x64
- name: Determine files to upload
id: filenames
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
yarn
yarn --cwd webui install
yarn dist
yarn dist win-x64
- name: Determine files to upload
id: filenames
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
yarn
yarn --cwd webui install
yarn dist
yarn dist win-arm64
- name: Determine files to upload
id: filenames
Expand Down
3 changes: 3 additions & 0 deletions tools/build_electron.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ if (!platform) {
} else if (platform === 'win-x64') {
electronBuilderArgs.push('--x64', '--win')
nodePreGypArgs = ['--target_platform=win32', '--target_arch=x64', '--target_libc=unknown']
} else if (platform === 'win-arm64') {
electronBuilderArgs.push('--arm64', '--win')
nodePreGypArgs = ['--target_platform=win32', '--target_arch=arm64', '--target_libc=unknown']
} else if (platform === 'linux-x64') {
electronBuilderArgs.push('--x64', '--linux')
nodePreGypArgs = ['--target_platform=linux', '--target_arch=x64', '--target_libc=glibc']
Expand Down

0 comments on commit 77a4b93

Please sign in to comment.