mirror of
https://github.com/mileswolfallen2/gelectron.git
synced 2026-12-05 16:30:40 +00:00
feat: add Gelectron compatibility layer for Electron modules
- Introduced contextBridge module for exposing APIs to the main world. - Added dialog module for handling open, save, and message dialogs. - Created index module as a drop-in replacement for Electron's main API. - Implemented ipcMain and ipcRenderer modules for inter-process communication. - Developed menu and menu item modules for creating application menus. - Added nativeImage module for handling images in various formats. - Implemented notification module for displaying system notifications. - Created preload-loader for injecting preload scripts into the renderer process. - Developed runtime module for running Electron apps in a Node.js environment. - Added safe-storage module for basic string encryption and decryption. - Implemented shell module for opening external URLs and managing file paths. - Created tray module for managing system tray icons and menus. - Developed webContents utilities for interacting with browser windows.
This commit is contained in:
1 parent
4af8378d72
commit
86c19b0012
39 files changed
+4687
-2
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
[workspace]
|
||||
members = ["crates/gelectron-core"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.dependencies]
|
||||
napi = { version = "2", features = ["async", "napi8", "serde-json"] }
|
||||
napi-derive = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
url = "2"
|
||||
log = "0.4"
|
||||
env_logger = "0.11"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
opt-level = 3
|
||||
strip = "symbols"
|
||||
codegen-units = 1
|
||||
Reference in new issue
Block a user