Commit graph

37 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
094f6cb5ec 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
Nikolai Vincent Vaags
588780d632 add ozone-platform-hint=auto to known flags
This allows electron to run natively under wayland
2025-07-09 11:22:31 +02:00
liamcottle
66b619c398 single line 2025-05-11 21:04:26 +12:00
Stephen Smith
e9a9e9f831 filter out known flags that should not be passed to python. fixes #61 2025-04-18 11:52:32 -04:00
liamcottle
59deac6d07 allow passing --headless to compiled electron binary to avoid launching gui 2025-02-08 22:38:47 +13:00
liamcottle
72735c8cd4 fix opening blob urls in new electron window 2024-12-29 20:18:30 +13:00
liamcottle
bb62b3331f add tools page and embed rnode flasher 2024-12-18 23:15:27 +13:00
liamcottle
8cfb5449fd open external links in default web browser instead of electron 2024-12-17 11:04:35 +13:00
liamcottle
3264e63968 save .reticulum config dir next to launched exe when using portable version 2024-12-16 21:52:29 +13:00
liamcottle
5aa90ffae4 save .reticulum-meshchat storage dir next to launched exe when using portable version 2024-12-16 21:36:36 +13:00
liamcottle
5a2d5c059a don't care about migrating super old versions anymore 2024-12-16 19:54:45 +13:00
liamcottle
85032e1716 bypass electron browser cache when loading main page 2024-08-18 22:26:48 +12:00
liamcottle
c4e659c079 only show last 10 lines of output in crash dialog 2024-08-16 21:37:23 +12:00
liamcottle
b95adf2ed6 fix quit 2024-08-16 21:33:58 +12:00
liamcottle
577156854d fix quit 2024-08-16 21:33:29 +12:00
liamcottle
b0f879c294 tell user if they need to install c++ redist for windows 2024-08-16 21:33:09 +12:00
liamcottle
5c49e78204 don't show crash log when exit cleanly 2024-08-16 21:31:41 +12:00
liamcottle
45b52d5854 python exe sometimes doesn't exit on macos, so use sigkill 2024-08-16 21:30:45 +12:00
liamcottle
b7f4123946 add buttons in electron to show rns config and meshchat database files in containing folder 2024-07-30 22:56:53 +12:00
liamcottle
b9ba525106 show crash dialog when python executable exits in electron 2024-07-30 21:39:37 +12:00
liamcottle
a804e16f3d support providing meshchat command line args to portable electron exe 2024-07-09 20:50:39 +12:00
liamcottle
dad956ab14 add button to quickly relaunch electron app after changing interfaces 2024-07-09 17:24:23 +12:00
liamcottle
205a4d0a1d use ipc dialog instead of javascript alert when running in electron 2024-07-08 18:05:29 +12:00
liamcottle
76e736958f migrate old storage dir to new storage dir 2024-06-02 14:49:09 +12:00
liamcottle
627e62ca6e rebrand to meshchat 2024-06-02 14:42:19 +12:00
liamcottle
bb86ab31aa show app version on electron loading screen 2024-05-28 22:19:18 +12:00
liamcottle
8cf55933d3 fix for dist windows exe path not found due to missing file extension 2024-05-28 22:03:44 +12:00
liamcottle
047c60205f only access for media access permissions on macos 2024-05-28 21:52:05 +12:00
liamcottle
97c89cf97c ask for microphone access so audio calls work on standalone macos app 2024-05-28 21:42:50 +12:00
liamcottle
fd89b50da5 add button to compose a message to an arbitrary lxmf address 2024-05-28 21:14:41 +12:00
liamcottle
856f2bdadf increase default window size 2024-05-28 04:22:44 +12:00
liamcottle
baca6d608f make sure exe is killed even when user exits the app to prevent dangling process 2024-05-28 04:22:22 +12:00
liamcottle
bb6c9c71b7 remove hardcoded version 2024-05-28 01:33:29 +12:00
liamcottle
109fa8876a don't open dev tools by default 2024-05-27 22:19:23 +12:00
liamcottle
ec92e458e6 compiled cxfreeze python app working inside electron with logging passed to web browser console 2024-05-27 21:26:23 +12:00
liamcottle
4cdc900133 initial electron wrapper 2024-05-27 17:31:20 +12:00