liamcottle___reticulum-mesh.../electron
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
..
assets initial electron wrapper 2024-05-27 17:31:20 +12:00
build compiled cxfreeze python app working inside electron with logging passed to web browser console 2024-05-27 21:26:23 +12:00
loading.html bypass electron browser cache when loading main page 2024-08-18 22:26:48 +12:00
main.js Add support for universal Mac build (x64 + arm64) 2025-11-08 08:46:20 +03:00
preload.js added custom confirm dialog as js confirm in electron on windows causes all text fields to be disabled 2025-07-27 21:45:27 +12:00