mirror of
https://github.com/mileswolfallen2/gelectron.git
synced 2026-09-08 12:43:16 +00:00
feat: enhance native binary resolution and add bundled Node.js runtime
- Refactored gelectron.js to improve native binary discovery with additional paths and environment variable support. - Implemented a function to find the Node.js runtime, allowing bundled Node.js to be used when available. - Updated package.json to include gelectron-packager as a CLI command. - Enhanced gelectron-packager.js to locate installed gelectron runtime and added compatibility for bundled Node.js. - Modified install-release.sh to download and install a private Node.js runtime alongside the gelectron binary. - Updated NSIS installer script to include bundled Node.js runtime. - Enhanced AppImage and DMG packaging scripts to include Node.js runtime. - Added clipboard, nativeTheme, and screen modules for Electron compatibility. - Implemented native bridge request handling for clipboard operations.
This commit is contained in:
+3
-1
@@ -4,7 +4,9 @@
|
||||
"description": "Firefox-engine alternative to Electron, powered by Servo",
|
||||
"main": "src/electron/index.js",
|
||||
"bin": {
|
||||
"gelectron-core": "./cli/gelectron.js"
|
||||
"gelectron": "./cli/gelectron.js",
|
||||
"gelectron-core": "./cli/gelectron.js",
|
||||
"gelectron-packager": "./packager/bin/gelectron-packager.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "napi build --platform --release --package gelectron-core",
|
||||
|
||||
Reference in New Issue
Block a user