Commit Graph

9 Commits

Author SHA1 Message Date
plebeius
ca38336541 fix(forge.config.js): remove malformed iconUrl from Squirrel config 2026-01-30 14:01:38 +08:00
plebeius
e294bc3c8b fix(electron-forge): add app icon configuration for all platforms 2026-01-30 13:46:23 +08:00
plebeius
e509d8622f Update forge.config.js 2026-01-29 19:19:14 +08:00
plebeius
2ad78b9acd fix CI 2026-01-29 18:57:28 +08:00
plebeius
9feeace188 fix: disable asar to fix electron-forge packaging failure
- Disabled asar packaging due to silent failure in electron-packager
- Added generateAssets hook to download IPFS/Kubo binaries before packaging
- Added ignore patterns for kubo symlinks and .bin directories that cause build failures
- Simplified CI workflow with proper pipefail handling
- Removed legacy electron-builder config from package.json
- Added glob and progress dependencies needed for hooks

The asar creation was silently failing due to issues with symlinks in node_modules.
With asar disabled, the app bundle is larger but packaging completes successfully.
2026-01-29 18:42:14 +08:00
plebeius
88380e908d fix CI 2026-01-29 18:00:44 +08:00
plebeius
7ad3bde98d attempt to fix CI 2026-01-29 17:33:19 +08:00
plebeius
2d0d90be4d fix CI 2026-01-29 16:41:15 +08:00
plebeius
d65e2d43b7 refactor: migrate from electron-builder to Electron Forge and use kubo npm package
Migrated build system from electron-builder to Electron Forge with new configuration in forge.config.js. Replaced manual IPFS binary downloads with kubo npm package, updating start-ipfs.js to resolve binaries from node_modules. Simplified CI workflows to use new build scripts and verification helpers. Added scripts to find and verify executables in Forge output directory.
2026-01-29 14:39:27 +08:00