Skip to content

Commit

Permalink
fix: update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
philhartung committed Mar 6, 2025
1 parent c688414 commit 8ce365a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ jobs:
matrix:
include:
- os: ubuntu-latest
arch: x64
- os: ubuntu-latest
arch: arm64
- os: windows-latest
arch: x64
- os: macos-latest
arch: x64
- os: macos-latest
arch: arm64

runs-on: ${{ matrix.os }}

Expand All @@ -42,12 +35,12 @@ jobs:
run: npm run build

- name: Package App
run: npx electron-builder --publish never --${{ matrix.arch }}
run: npx electron-builder --publish never --arm64 --x64

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts-${{ runner.os }}-${{ matrix.arch }}
name: Artifacts-${{ runner.os }}
path: |
release-builds/*.msi
release-builds/*.zip
Expand Down
1 change: 1 addition & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
appId: "com.phlhar.stream-monitor"
productName: "Stream Monitor"
artifactName: "${name}-${version}-${os}-${arch}.${ext}"
mac:
icon: "icon/icon.ico"
target: ["dmg", "zip"]
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function createMainWindow() {
height: 1080,
webPreferences: {
preload: path.join(__dirname, "preload.js"),
devTools: !app.isPackaged,
/* devTools: !app.isPackaged, */
},
});

Expand Down

0 comments on commit 8ce365a

Please sign in to comment.