chore: bump electron (#13935)

fix #13647

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

* **Chores**
* Updated development tooling and build dependencies to latest stable
versions
  * Increased minimum Node.js requirement to version 22
  * Updated macOS deployment target to version 11.6
  * Enhanced type safety and error handling in build processes
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2025-11-15 15:52:04 +08:00
committed by GitHub
parent 17ec76540b
commit 46e7d9fab7
11 changed files with 722 additions and 428 deletions
@@ -10,7 +10,7 @@ export const electronDir = fileURLToPath(new URL('..', import.meta.url));
export const rootDir = resolve(electronDir, '..', '..', '..', '..');
export const NODE_MAJOR_VERSION = 18;
export const NODE_MAJOR_VERSION = 22;
export const mode = (process.env.NODE_ENV =
process.env.NODE_ENV || 'development');