Skip to content

Commit

Permalink
测试:平台打包
Browse files Browse the repository at this point in the history
  • Loading branch information
modstart committed Dec 16, 2024
1 parent 50c1c6b commit e26ea84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:

jobs:
build:
runs-on: self-hosted
# runs-on: ${{ matrix.os }}
# runs-on: self-hosted
runs-on: ${{ matrix.os }}

strategy:
matrix:
include:
# - os: ubuntu-latest
# arch: [arm64, amd64]
# - os: macos-latest
# arch: [arm64, amd64]
- os: macos-latest
arch: [arm64, amd64]
- os: windows-latest
arch: [arm64, amd64]

Expand Down
12 changes: 6 additions & 6 deletions electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"dist",
"dist-electron"
],
"extraResources": [
{
"from": "node_modules/ffmpeg-static",
"to": "bin/ffmpeg",
}
],
// "extraResources": [
// {
// "from": "node_modules/ffmpeg-static",
// "to": "bin/ffmpeg",
// }
// ],
"win": {
icon: "electron/resources/build/logo.ico",
"target": [
Expand Down

0 comments on commit e26ea84

Please sign in to comment.