Commit graph

16 commits

Author SHA1 Message Date
Danil Bezborodov
1518013225 Add support for universal Mac build (x64 + arm64)
Changes to package.json:
- Enable ASAR packaging (was disabled)
- Replace extraFiles with extraResources for Python executables
  - Old: Resources/app/electron/build/exe
  - New: Resources/python (outside ASAR, accessible to spawn)
- Mac: Add universal build support (x64 + arm64 in single .dmg)
- Mac: Add x64ArchFiles rule for Python (cx_Freeze creates universal binaries)
- Mac: Add explicit icon configuration
- Mac: Update artifact name to include architecture
- Remove buildResources directive (conflicted with extraResources)
- Remove duplicate extraFiles from win/linux sections (centralized)
- Add npm scripts: dist:mac-arm64 and dist:mac-universal

Changes to electron/main.js:
- Update Python exe path resolution for extraResources location
- Check process.resourcesPath/python first (production build)
- Fall back to local build/exe for development

Changes to .github/workflows/build.yml:
- Switch Mac runner from macos-13 (Intel) to macos-14 (Apple Silicon)
- Update artifacts pattern from '*-mac.dmg' to '*-mac-*.dmg'
2025-11-08 08:46:20 +03:00
liamcottle
de75123c38 update repo for manual docker build workflow 2024-12-25 20:18:05 +13:00
Neil G7UFO
f905669218
Temporary workflow to trigger docker build 2024-12-18 10:50:42 +00:00
Neil G7UFO
7c0fe0618f
Update for PR submission 2024-12-17 13:53:00 +00:00
Neil G7UFO
a4601f4318
Update build GHA to include image job 2024-12-17 13:53:00 +00:00
liamcottle
c632983189 add linux appimage target for electron 2024-08-08 16:47:21 +12:00
liamcottle
3bf77df37f use macos-13 so x86 dmg is built 2024-05-29 00:39:12 +12:00
liamcottle
618a7a1687 no need to set name 2024-05-29 00:29:34 +12:00
liamcottle
25346d6d77 setup building for tags 2024-05-29 00:22:49 +12:00
liamcottle
28b9948ede build for mac 2024-05-29 00:09:34 +12:00
liamcottle
40df2e1497 draft releases 2024-05-29 00:00:11 +12:00
liamcottle
c266526024 test release 2024-05-28 23:49:13 +12:00
liamcottle
7c32481137 use commit hash as tag for testing releases 2024-05-28 23:39:17 +12:00
liamcottle
10085b72b5 auto create release 2024-05-28 23:27:50 +12:00
liamcottle
42ce5ce799 update artifact name parsing for windows 2024-05-28 23:19:09 +12:00
liamcottle
aba4ecee06 add github actions build script 2024-05-28 22:53:50 +12:00