chore: enhance build configuration for macOS and update artifact naming

- Added new distribution scripts for macOS ARM64 and universal builds in package.json.
- Updated macOS target configuration to support universal architecture.
- Modified GitHub Actions workflow to use macOS 14 and adjusted artifact naming for macOS DMG files.
This commit is contained in:
2025-12-01 12:37:44 -06:00
parent d8419990b1
commit a74a6869ea
2 changed files with 13 additions and 6 deletions

View File

@@ -80,10 +80,10 @@ jobs:
release_artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"
build_input: build_windows
- name: mac
os: macos-13
os: macos-14
node: 18
python: "3.11"
release_artifacts: "dist/*-mac.dmg"
release_artifacts: "dist/*-mac-*.dmg"
build_input: build_mac
- name: linux
os: ubuntu-latest
@@ -173,7 +173,7 @@ jobs:
mv dist/*.whl python-dist/
rm -rf dist
- name: Build Electron App
- name: Build Electron App (Universal)
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)