59 Commits

Author SHA1 Message Date
plebeius
61c470141b refactor(electron): migrate build-docker.sh to Electron Forge and add arch-specific scripts
Updated build-docker.sh to use Electron Forge instead of electron-builder, switched from electronuserland/builder image to node:22, and removed electron-builder-specific commands. Added architecture-specific build scripts (linux:x64, linux:arm64, mac:x64, mac:arm64) to package.json for CI workflow. Removed outdated electron-rebuild comment from release.yml.
2026-01-30 12:16:09 +08:00
plebeius
dd5efca0fb fix CI 2026-01-29 19:17:08 +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
a61a8fd8f4 debug: add DEBUG output and better error handling for electron-forge 2026-01-29 18:17:53 +08:00
plebeius
e75b30c505 debug: add detailed CI steps to diagnose electron-forge failure 2026-01-29 18:08:14 +08:00
plebeius
88380e908d fix CI 2026-01-29 18:00:44 +08:00
plebeius
c686692f93 fix(ci): package Electron app for CI smoke tests 2026-01-29 15:06:54 +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
plebeius
03e188f2b0 fix CI 2026-01-28 19:13:25 +08:00
plebeius
f747563cb5 Update test.yml 2026-01-28 18:40:05 +08:00
plebeius
2663d8853c fix(ci): fix electron-builder command and smoke test executable detection 2026-01-28 15:51:15 +08:00
plebeius
b2e1500935 fix(ci): correct APP_PID to reference the app instead of timeout wrapper 2026-01-28 15:30:37 +08:00
plebeius
b84ee93c50 fix(ci): restore executableName config and make smoke tests robust 2026-01-27 19:25:26 +08:00
plebeius
dc7c7c54ec Update test.yml 2026-01-27 18:17:43 +08:00
plebeius
5e1c40cc72 fix(ci): add explicit executableName to electron-builder config 2026-01-27 17:07:19 +08:00
plebeius
033372badc perf(CI): remove redundant yarn build from Electron build step 2026-01-27 16:46:28 +08:00
plebeius
8335aaf46a fix(ci): make smoke tests dynamically find electron artifacts 2026-01-27 16:32:44 +08:00
plebeius
109d67ddaf Update release.yml 2026-01-27 16:23:30 +08:00
plebeius
0eec52fd6d fix(release): update macos runner images, avoid environment error 2026-01-27 16:08:53 +08:00
plebeius
f9a12e3557 fix(ci): update macos runner image 2026-01-27 16:01:48 +08:00
plebeius
c96ff9db42 Delete notifications.yml
not needed, we now use https://github.com/mhkafadar/notifine
2026-01-27 15:13:19 +08:00
plebeius
faed162edc Update test.yml 2026-01-16 18:18:25 +01:00
plebeius
86c1872291 feat: add CI 2026-01-15 19:06:42 +01:00
plebeius
723b3259bf ci(release): setup Node and install deps in finalize-release before generating body 2025-08-19 13:10:33 +02:00
plebeius
ac9860a4aa chore(ci): enable mac arm64 with unsigned DMGs; keep win x64; linux x64+arm64 2025-08-19 12:42:35 +02:00
plebeius
52d6398179 ci(release): upload artifacts per job without body and finalize release notes after all jobs 2025-08-18 14:17:40 +02:00
plebeius
7fccb4294d Update release.yml 2025-08-18 13:34:06 +02:00
plebeius
6c1c3ecd07 ci(release): fix mac arm failure, add arch matrices, arch-aware IPFS, and OS-grouped release notes
Replace ensurepip with setup-python on macOS-14; build and publish arm64/x64 variants for mac/linux/windows; select IPFS binaries by target arch (with SEEDIT_BUILD_ARCH override); generate cleaner OS-grouped release notes from actual dist artifacts.
2025-08-18 13:23:23 +02:00
plebeius
c9f3ba8822 perf(electron): reduce prod logging + IPFS noise across OS; disable devtools in release; arch-aware mac builds
Reduce production logging and I/O by avoiding main-process console.log/debug file writes, setting GOLOG_LOG_LEVEL=error and stopping IPFS daemon stdout piping in production, and disabling devtools in packaged builds; additionally build mac artifacts per arch and fetch matching IPFS binaries to avoid emulation overhead. These changes address lag in release builds across OS caused by log-induced stalls and architecture mismatch.
2025-08-17 18:42:37 +02:00
plebeius
a5373aa9ba fix: resolve Android CI build failure with Google Services plugin
The Android CI build was failing because the code tried to read `google-services.json` content without first checking if the file exists.
2025-08-09 19:59:21 +02:00
plebeius
61253227f5 Update release.yml 2025-08-06 19:59:39 +02:00
plebeius
614fb427bf fix: resolve Electron performance issues by ensuring Node.js version consistency in CI 2025-07-13 16:20:19 +02:00
plebeius
71b36d22ed Update release.yml 2025-07-12 17:33:37 +02:00
plebeius
a60142f493 fix: react-scan was included in production builds 2025-07-11 23:12:33 +02:00
Tom (plebeius.eth)
0da1d88acd fix electron, fix capacitor 2025-05-13 22:59:09 +02:00
Tom (plebeius.eth)
e6ba69288b Update release.yml 2025-05-11 00:28:36 +02:00
Tom (plebeius.eth)
c9b905f117 Update release.yml 2025-05-11 00:12:50 +02:00
Tom (plebeius.eth)
5ba7a4ffa9 Update release.yml 2025-05-10 23:26:31 +02:00
Tom (plebeius.eth)
783dbb304e Update release.yml 2025-05-10 23:21:21 +02:00
Tom (plebeius.eth)
430284b0a4 Update release.yml 2025-05-09 23:51:36 +02:00
Tom (plebeius.eth)
dce11b7d7a Update release.yml 2025-05-09 23:41:22 +02:00
Tom (plebeius.eth)
5d88ab2ef4 Update release.yml 2025-04-16 12:47:18 +02:00
Tom (plebeius.eth)
ec92327f41 Revert "fix(release): prevent release artifact overwriting by parallel jobs"
This reverts commit b6875ab645.
2025-04-16 12:29:07 +02:00
Tom (plebeius.eth)
b6875ab645 fix(release): prevent release artifact overwriting by parallel jobs 2025-04-16 12:18:30 +02:00
Tom (plebeius.eth)
20ed84ece1 Update release.yml 2025-04-16 11:48:29 +02:00
Tom (plebeius.eth)
afa599c76a Update release.yml 2025-04-16 11:42:15 +02:00
Tom (plebeius.eth)
333c353d3c add OS to file names 2025-03-18 15:12:44 +01:00
Tom (plebeius.eth)
428abcd2ad Update release.yml 2025-03-18 00:40:29 +01:00
Tom (plebeius.eth)
f87bb1fbe0 fix(release.yml): wrong java version prevented apk build 2024-10-25 18:14:14 +02:00
Esteban Abaroa
30df74e340 refactor(release.yml): use fixed os versions to avoid script breaking 2024-05-05 21:57:30 +00:00