@holochain/hc-spin 0.200.13 → 0.200.14
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/cli/cli.js +0 -15
- package/dist/cli.js +0 -15
- package/dist/main/index.js +1 -0
- package/package.json +1 -1
- package/src/main/windows.ts +1 -0
package/cli/cli.js
CHANGED
|
@@ -20,21 +20,6 @@ for (let i = 0; i < 7; i++) {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// https://github.com/electron/electron/issues/17972
|
|
24
|
-
if (process.platform === 'linux') {
|
|
25
|
-
let chromeSandboxPathStr = '../node_modules/electron/dist/chrome-sandbox';
|
|
26
|
-
// recursively look for electron binary in node_modules folder
|
|
27
|
-
for (let i = 0; i < 7; i++) {
|
|
28
|
-
const maybeChromeSandbox = path.resolve(__dirname, chromeSandboxPathStr);
|
|
29
|
-
if (fs.existsSync(maybeChromeSandbox)) {
|
|
30
|
-
fs.chmodSync(maybeChromeSandbox, 0o4755);
|
|
31
|
-
break;
|
|
32
|
-
} else {
|
|
33
|
-
chromeSandboxPathStr = '../' + chromeSandboxPathStr;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
23
|
if (!electronBinary) {
|
|
39
24
|
throw new Error('Failed to locate electron binary. __dirname: ', __dirname);
|
|
40
25
|
}
|
package/dist/cli.js
CHANGED
|
@@ -20,21 +20,6 @@ for (let i = 0; i < 7; i++) {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// https://github.com/electron/electron/issues/17972
|
|
24
|
-
if (process.platform === 'linux') {
|
|
25
|
-
let chromeSandboxPathStr = '../node_modules/electron/dist/chrome-sandbox';
|
|
26
|
-
// recursively look for electron binary in node_modules folder
|
|
27
|
-
for (let i = 0; i < 7; i++) {
|
|
28
|
-
const maybeChromeSandbox = path.resolve(__dirname, chromeSandboxPathStr);
|
|
29
|
-
if (fs.existsSync(maybeChromeSandbox)) {
|
|
30
|
-
fs.chmodSync(maybeChromeSandbox, 0o4755);
|
|
31
|
-
break;
|
|
32
|
-
} else {
|
|
33
|
-
chromeSandboxPathStr = '../' + chromeSandboxPathStr;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
23
|
if (!electronBinary) {
|
|
39
24
|
throw new Error('Failed to locate electron binary. __dirname: ', __dirname);
|
|
40
25
|
}
|
package/dist/main/index.js
CHANGED
package/package.json
CHANGED