mirror of
https://github.com/YILS-LIN/short-video-factory.git
synced 2025-11-25 03:15:03 +08:00
优化MAC构建配置
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, macos-latest-large, windows-latest, ubuntu-latest]
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
@@ -32,6 +32,11 @@ jobs:
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: |
|
||||
export ELECTRON_BUILDER_EXTRA_ARGS="--universal"
|
||||
npm rebuild --arch=x64 -f ffmpeg-static && mv node_modules/ffmpeg-static/ffmpeg{,-x64}
|
||||
npm rebuild --arch=arm64 -f ffmpeg-static && mv node_modules/ffmpeg-static/ffmpeg{,-arm64}
|
||||
cd node_modules/ffmpeg-static
|
||||
lipo -create ffmpeg-arm64 ffmpeg-x64 -output ffmpeg
|
||||
cd ../..
|
||||
pnpm run build
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
All significant changes to this project will be recorded in this file.
|
||||
此项目的所有显著更改都将记录在此文件中。
|
||||
|
||||
## [v1.1.2] - 2025-10-22
|
||||
## [v1.1.3] - 2025-10-22
|
||||
### Added
|
||||
- Add MAC embedding FFmpeg support
|
||||
### Fixed
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
target: [
|
||||
{
|
||||
target: 'dmg',
|
||||
arch: ['universal'],
|
||||
},
|
||||
],
|
||||
artifactName: '${name}-${version}-mac-${arch}-installer.${ext}',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "short-video-factory",
|
||||
"description": "短视频工厂,一键生成产品营销与泛内容短视频,AI批量自动剪辑",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"author": {
|
||||
"name": "YILS",
|
||||
"developer": "YILS",
|
||||
|
||||
Reference in New Issue
Block a user