Skip to content

Commit b35c442

Browse files
committed
优化 MAC 构建配置
1 parent 3768010 commit b35c442

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
run: |
3434
export ELECTRON_BUILDER_EXTRA_ARGS="--universal"
3535
export FFMPEG_BINARIES_URL="https://cdn.npmmirror.com/binaries/ffmpeg-static"
36-
export npm_config_arch=x64
36+
sed -i '' '/^arch=/d' .npmrc && echo 'arch=x64' >> .npmrc
3737
npm --arch=x64 rebuild -f ffmpeg-static && mv node_modules/ffmpeg-static/ffmpeg{,-x64}
38-
export npm_config_arch=arm64
38+
sed -i '' '/^arch=/d' .npmrc && echo 'arch=arm64' >> .npmrc
3939
npm --arch=arm64 rebuild -f ffmpeg-static && mv node_modules/ffmpeg-static/ffmpeg{,-arm64}
40+
sed -i '' '/^arch=/d' .npmrc
4041
cd node_modules/ffmpeg-static
4142
lipo -create ffmpeg-arm64 ffmpeg-x64 -output ffmpeg
4243
chmod 0755 ffmpeg

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All significant changes to this project will be recorded in this file.
33
此项目的所有显著更改都将记录在此文件中。
44

5-
## [v1.1.6] - 2025-10-22
5+
## [v1.1.7] - 2025-10-22
66
### Added
77
- Add MAC embedding FFmpeg support
88
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "short-video-factory",
33
"description": "短视频工厂,一键生成产品营销与泛内容短视频,AI批量自动剪辑",
4-
"version": "1.1.6",
4+
"version": "1.1.7",
55
"author": {
66
"name": "YILS",
77
"developer": "YILS",

0 commit comments

Comments
 (0)