mirror of
https://github.com/mileswolfallen2/gelectron.git
synced 2026-12-05 00:10:41 +00:00
feat: enhance WebContents and BrowserWindow with navigation and devtools features
- Added history management to WebContents for back and forward navigation. - Implemented methods for opening, closing, and toggling devtools in WebContents and BrowserWindow. - Introduced capturePage and printToPDF methods in WebContents for screenshot and PDF generation. - Added process polyfill for WebView-only mode to ensure compatibility without a Node.js runtime. - Updated native bridge to handle new window management commands. - Enhanced Cargo.toml and Cargo.lock for dependency alignment. - Updated package-lock.json for versioning consistency across native installers.
This commit is contained in:
1 parent
f45e458c53
commit
06b14e6cda
11 files changed
+854
-42
No files matched your search
Generated
+61
-14
@@ -1,15 +1,17 @@
|
||||
{
|
||||
"name": "gelectron",
|
||||
"version": "0.1.0",
|
||||
"name": "gelectron-core",
|
||||
"version": "0.1.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "gelectron",
|
||||
"version": "0.1.0",
|
||||
"name": "gelectron-core",
|
||||
"version": "0.1.1",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"gelectron": "cli/gelectron.js"
|
||||
"gelectron": "cli/gelectron.js",
|
||||
"gelectron-core": "cli/gelectron.js",
|
||||
"gelectron-packager": "packager/bin/gelectron-packager.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "^3.0.0",
|
||||
@@ -19,12 +21,18 @@
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"gelectron-darwin-arm64": "0.1.0",
|
||||
"gelectron-darwin-x64": "0.1.0",
|
||||
"gelectron-linux-arm64-gnu": "0.1.0",
|
||||
"gelectron-linux-x64-gnu": "0.1.0",
|
||||
"gelectron-win32-arm64-msvc": "0.1.0",
|
||||
"gelectron-win32-x64-msvc": "0.1.0"
|
||||
"gelectron-core-darwin-arm64": "0.1.1",
|
||||
"gelectron-core-darwin-x64": "0.1.1",
|
||||
"gelectron-core-linux-arm64-gnu": "0.1.1",
|
||||
"gelectron-core-linux-x64-gnu": "0.1.1",
|
||||
"gelectron-core-win32-arm64-msvc": "0.1.1",
|
||||
"gelectron-core-win32-x64-msvc": "0.1.1",
|
||||
"gelectron-darwin-arm64": "0.1.1",
|
||||
"gelectron-darwin-x64": "0.1.1",
|
||||
"gelectron-linux-arm64-gnu": "0.1.1",
|
||||
"gelectron-linux-x64-gnu": "0.1.1",
|
||||
"gelectron-win32-arm64-msvc": "0.1.1",
|
||||
"gelectron-win32-x64-msvc": "0.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@electron-internal/extract-zip": {
|
||||
@@ -1876,9 +1884,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/gelectron-darwin-arm64": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/gelectron-darwin-arm64/-/gelectron-darwin-arm64-0.1.0.tgz",
|
||||
"integrity": "sha512-K0bmA9pfSNlA7CLPD+BOBNdvb0Cb8qMWcYry9BYuP3DC0gcL8Gfq1iM2h3CHNKJB/YEZdBA0uCgTd3+0SMvQ3w==",
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/gelectron-darwin-arm64/-/gelectron-darwin-arm64-0.1.1.tgz",
|
||||
"integrity": "sha512-7kMnhoY/eaZPzZqQBMPwJR+mcVBMzdMqZ2f6/5f+gjXNVgtccV2ip2bOyggxzoYaU2OMqobM8tGQhIrF0tUgyw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1888,6 +1896,45 @@
|
||||
"darwin"
|
||||
]
|
||||
},
|
||||
"node_modules/gelectron-darwin-x64": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/gelectron-darwin-x64/-/gelectron-darwin-x64-0.1.1.tgz",
|
||||
"integrity": "sha512-8CtYzvwyZ8m0+RYnRFXnzvWKPJkh+YvsgTuRumC+aySmppS2nSeFkW9H4gIyqBk7VkiPyHyI6ETmLuY/TqTibA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
]
|
||||
},
|
||||
"node_modules/gelectron-win32-arm64-msvc": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/gelectron-win32-arm64-msvc/-/gelectron-win32-arm64-msvc-0.1.1.tgz",
|
||||
"integrity": "sha512-/dg+fvsD79irxJIjDvUDgdJtdzCM9U1bOzAJpYK0AGw23xG1r2hcRp75TUxhowj5qJ5RrfdhYK8kwllGNvLNlg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/gelectron-win32-x64-msvc": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/gelectron-win32-x64-msvc/-/gelectron-win32-x64-msvc-0.1.1.tgz",
|
||||
"integrity": "sha512-EbdZD9QS25MkiVVZnEzJxZSfdMD0zdspEIK6mjMIKw42UBrNK9HrF5zS+UIJs/bgBwrL/XEuRISjHeBWICEI/A==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/graceful-fs": {
|
||||
"version": "4.2.11",
|
||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||
|
||||
Reference in new issue
Block a user