Commit Graph

6 Commits

Author SHA1 Message Date
murrayee
4847045063 fix(bytecode): support Electron 42 and newer
Compile bytecode inside a real Electron main process on Electron 42+ so the V8 read-only snapshot checksum matches at runtime. Batch all chunks into one compiler process and retain the legacy run-as-node path for older Electron releases.

Resolve Electron through its package entry to support lazy binary installation, and add Electron 42/43 build targets.

Closes #911
2026-08-20 16:58:22 +08:00
alex8088
48e6f4f570 fix(deps)!: update Vite to v7 and remove cjs build 2025-06-28 13:08:38 +08:00
alex8088
c1e1ca0471 feat: support ESM in Electron 2023-12-12 22:40:37 +08:00
alex8088
b93a1878c1 feat: migrate to ESM 2023-12-08 22:03:47 +08:00
alex8088
9132b24751 feat: source code protection 2022-09-19 03:06:37 +08:00
alex8088
ef99b02b18 chore: init 2022-03-17 16:21:02 +08:00