pear-electron 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gui/gui.js +4 -0
- package/package.json +3 -3
- package/preload.js +1 -1
package/gui/gui.js
CHANGED
|
@@ -1765,6 +1765,10 @@ class PearGUI extends ReadyResource {
|
|
|
1765
1765
|
|
|
1766
1766
|
restart (opts = {}) { return this.ipc.restart(opts) }
|
|
1767
1767
|
|
|
1768
|
+
get (params) { return this.ipc.get(params) }
|
|
1769
|
+
|
|
1770
|
+
exists (params) { return this.ipc.exists(params) }
|
|
1771
|
+
|
|
1768
1772
|
warming () { return this.ipc.warming() }
|
|
1769
1773
|
|
|
1770
1774
|
reports () { return this.ipc.reports() }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pear-electron",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Pear User-Interface Library for Electron",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": "bin.js",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"node-bare-bundle": "^1.4.2",
|
|
82
82
|
"paparam": "^1.6.1",
|
|
83
83
|
"path": "npm:bare-node-path@^1.0.1",
|
|
84
|
-
"pear-api": "
|
|
84
|
+
"pear-api": "~0.1.0",
|
|
85
85
|
"pear-interface": "^1.0.3",
|
|
86
|
-
"pear-ipc": "
|
|
86
|
+
"pear-ipc": "github:holepunchto/pear-ipc#v2",
|
|
87
87
|
"pear-link": "^2.0.6",
|
|
88
88
|
"pear-updater-bootstrap": "github:holepunchto/pear-updater-bootstrap#corestore-option",
|
|
89
89
|
"rache": "^1.0.0",
|
package/preload.js
CHANGED
|
@@ -57,7 +57,7 @@ module.exports = (state) => {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
if (Pear.config.options.gui?.preload) {
|
|
60
|
-
const run = require('node-bare-
|
|
60
|
+
const run = require('node-bare-bundle')
|
|
61
61
|
const key = Pear.config.options.gui.preload
|
|
62
62
|
Pear.get({ key, bundle: true }).then((preload) => {
|
|
63
63
|
run(preload, { mount: '/', entrypoint: key })
|