pear-electron 1.3.11 → 1.3.13
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/package.json +3 -3
- package/runtime.js +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pear-electron",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Pear User-Interface Library for Electron",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": "bin.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"pear": {
|
|
21
21
|
"name": "pear-electron",
|
|
22
|
-
"bootstrap": "pear://0.
|
|
22
|
+
"bootstrap": "pear://0.2599.yceb7sjhgfzsnza7oc38hy3oxu9dhnywi3mzxdm9ubc48kjnxqgo",
|
|
23
23
|
"stage": {
|
|
24
24
|
"skipWarmup": "true",
|
|
25
25
|
"only": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"iambus": "^1.0.3",
|
|
52
52
|
"localdrive": "^1.12.1",
|
|
53
53
|
"paparam": "^1.6.1",
|
|
54
|
-
"pear-api": "^1.11.
|
|
54
|
+
"pear-api": "^1.11.5",
|
|
55
55
|
"pear-ipc": "^6.1.0",
|
|
56
56
|
"script-linker": "^2.5.3",
|
|
57
57
|
"streamx": "^2.20.2",
|
package/runtime.js
CHANGED
|
@@ -13,7 +13,6 @@ const parseLink = require('pear-api/parse-link')
|
|
|
13
13
|
const Logger = require('pear-api/logger')
|
|
14
14
|
const { ERR_INVALID_INPUT, ERR_INVALID_APPLING } = require('pear-api/errors')
|
|
15
15
|
const { ansi, byteSize, byteDiff, outputter } = require('pear-api/terminal')
|
|
16
|
-
const { Pipe } = require('pear-api/worker')
|
|
17
16
|
const run = require('pear-api/cmd/run')
|
|
18
17
|
const pear = require('pear-api/cmd')
|
|
19
18
|
const pkg = require('./package.json')
|
|
@@ -124,8 +123,8 @@ class PearElectron {
|
|
|
124
123
|
|
|
125
124
|
argv = ['boot.bundle', '--rti', info, ...argv]
|
|
126
125
|
const stdio = args.detach
|
|
127
|
-
? ['ignore', 'ignore', 'ignore', '
|
|
128
|
-
: ['ignore', 'inherit', 'pipe', '
|
|
126
|
+
? ['ignore', 'ignore', 'ignore', 'overlapped']
|
|
127
|
+
: ['ignore', 'inherit', 'pipe', 'overlapped']
|
|
129
128
|
const options = {
|
|
130
129
|
stdio,
|
|
131
130
|
cwd,
|
|
@@ -145,7 +144,7 @@ class PearElectron {
|
|
|
145
144
|
|
|
146
145
|
sp.on('exit', (code) => { Pear.exitCode = code })
|
|
147
146
|
|
|
148
|
-
const pipe =
|
|
147
|
+
const pipe = sp.stdio[3]
|
|
149
148
|
|
|
150
149
|
if (args.detach) return pipe
|
|
151
150
|
|