Commit Graph

19 Commits

Author SHA1 Message Date
Scott Idem
bab08cd8a7 fix(packaging): workaround yauzl/Node 26 hang + fix API bootstrap contract
Packaging was silently hanging forever because yauzl 2.10.0 read streams
emit no data events under Node 26, causing extract-zip to block indefinitely
inside @electron/packager 20. Fix: postinstall script patches
@electron/packager/dist/unzip.js to use bsdtar (libarchive) instead.
bsdtar was chosen over 7z because 7z refuses chained symlinks in macOS
.app framework bundles. Both package:linux and package:mac now produce
correct output.

Also corrects the V3 API bootstrap contract in api_client.ts:
- SearchQuery body was wrapped in an extra {search_query: ...} layer — removed
- x-no-account-id header standardised to 'bypass'
- Redundant x-no-account-id removed from file download headers
- Smoke test rewritten to validate the real two-step bootstrap path

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 16:48:15 -04:00
Scott Idem
5a5814b2bc build: add electron-packager and package:mac script
Add electron-packager as a dev dependency and a package:mac npm script
that compiles TypeScript and packages dual-arch (x64, arm64) macOS builds
into builds/ using the OSIT icon.
2026-04-20 14:24:17 -04:00
Scott Idem
280de213c1 Fix: Standardize Electron bridge and implement robust caching
- Refactored all IPC methods and parameters to snake_case for consistency with SvelteKit.
- Implemented exhaustive background caching engine with download locking.
- Reverted to legacy-proven flat hash storage pattern (hash.file).
- Added axios for reliable stream-based binary downloads.
- Updated preload and main handlers to support recursive room data fetching.
2026-01-23 16:30:23 -05:00
Scott Idem
30db989b2c Enhance: Implement dynamic launcher URL and restore package.json
- Added logic to construct launcher URL based on hydrated device context.
- Implemented dev/production host fallback for demo.localhost.
- Restored missing package.json with proper start and build scripts.
- Finalized IPC handlers for seed and device configuration.
2026-01-23 14:08:31 -05:00
Scott Idem
0497f5767b Initial scaffold for Aether Native V3 Electron Launcher 2026-01-23 13:54:20 -05:00
Scott Idem
fdbd12b64f First iteration of the conversion to use SvelteKit. 2024-08-14 19:26:39 -04:00
5e04deab9c Clean up and simplify the initial loading. This needs more testing. 2023-06-03 01:09:16 -04:00
Scott Idem
29111e8dce Work on the config and setup 2023-05-24 22:16:26 -04:00
Scott Idem
86feb8517a Getting ready for BG 2023-04-24 18:46:40 -04:00
30b7a00229 Updates for native app to make it work again. Still some left to do. 2023-04-22 13:34:31 -04:00
Scott Idem
2d27750d0e Prep for LCI 2022-10-15 20:19:50 -04:00
Scott Idem
eb53e46ebc A lot of clean up!!! 2022-10-14 17:22:14 -04:00
Scott Idem
3a4812de4c A lot of work on the launcher. Moving things from Electron node.js to Svelte. 2022-10-11 20:06:13 -04:00
Scott Idem
4c65d9dc42 Clean up of launcher and added new Node and Electron functions 2022-05-06 14:50:52 -04:00
1860f9c09e Clean up of installed modules. Removed usb, screen, and request. 2022-04-18 20:39:56 -04:00
Scott Idem
80b9c29cb1 Work on Electron 2022-04-16 19:25:09 -04:00
Scott Idem
cbb0dc6a82 General clean up, updates, and prep for new version of launcher using Svelte. 2022-03-01 17:59:48 -05:00
Scott Idem
e3c297fb98 Working on network online offline detection 2020-03-04 16:36:49 -05:00
Scott Idem
7e79f333c2 Initial commit 2020-01-24 19:51:14 -05:00