mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Fix/pty.js build (#1001)
* Upgrade `electron-builder` to its latest version and pin it * Fix linux executable path – see electron-userland/electron-builder#877 * [Windows] Build `squirrel` executable instead of `nsis`
This commit is contained in:
parent
3902f8dac4
commit
0585607da4
2 changed files with 7 additions and 2 deletions
|
|
@ -51,6 +51,11 @@
|
||||||
"AppImage"
|
"AppImage"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"win": {
|
||||||
|
"target": [
|
||||||
|
"squirrel"
|
||||||
|
]
|
||||||
|
},
|
||||||
"mac": {
|
"mac": {
|
||||||
"category": "public.app-category.developer-tools"
|
"category": "public.app-category.developer-tools"
|
||||||
}
|
}
|
||||||
|
|
@ -94,7 +99,7 @@
|
||||||
"copy-webpack-plugin": "^4.0.0",
|
"copy-webpack-plugin": "^4.0.0",
|
||||||
"cross-env": "3.1.3",
|
"cross-env": "3.1.3",
|
||||||
"electron": "1.4.5",
|
"electron": "1.4.5",
|
||||||
"electron-builder": "^7.11.4",
|
"electron-builder": "8.6.0",
|
||||||
"electron-devtools-installer": "^2.0.0",
|
"electron-devtools-installer": "^2.0.0",
|
||||||
"eslint-config-xo-react": "^0.10.0",
|
"eslint-config-xo-react": "^0.10.0",
|
||||||
"eslint-plugin-react": "^6.3.0",
|
"eslint-plugin-react": "^6.3.0",
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ test.before(async () => {
|
||||||
|
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case 'linux':
|
case 'linux':
|
||||||
pathToBinary = path.join(__dirname, '../dist/linux-unpacked/Hyper');
|
pathToBinary = path.join(__dirname, '../dist/linux-unpacked/hyper');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'darwin':
|
case 'darwin':
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue