mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -09:00
fix: window not showing up in release (#128)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Some checks failed
CodeQL / Analyze (push) Has been cancelled
* Try fix cross compilation * 1.0.6d * Remove externals, show window
This commit is contained in:
parent
0c26db126a
commit
ee9ebb0c12
5 changed files with 15 additions and 35 deletions
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
|
|
@ -13,9 +13,11 @@ jobs:
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
include:
|
||||||
- macos-latest
|
- os: macos-latest
|
||||||
- ubuntu-latest
|
name: macos
|
||||||
|
- os: ubuntu-latest
|
||||||
|
name: ubuntu
|
||||||
#TODO re-enable these:
|
#TODO re-enable these:
|
||||||
#- windows-latest
|
#- windows-latest
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,11 @@ app.on('ready', () =>
|
||||||
|
|
||||||
const hwin = newWindow({width, height, x: startX, y: startY}, cfg, fn, profileName);
|
const hwin = newWindow({width, height, x: startX, y: startY}, cfg, fn, profileName);
|
||||||
windowSet.add(hwin);
|
windowSet.add(hwin);
|
||||||
void hwin.loadURL(url);
|
void hwin.loadURL(url)
|
||||||
|
|
||||||
|
hwin.once('ready-to-show', () => {
|
||||||
|
hwin.show();
|
||||||
|
});
|
||||||
|
|
||||||
// the window can be closed by the browser process itself
|
// the window can be closed by the browser process itself
|
||||||
hwin.on('close', () => {
|
hwin.on('close', () => {
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
"color": "4.2.3",
|
"color": "4.2.3",
|
||||||
"default-shell": "1.0.1",
|
"default-shell": "1.0.1",
|
||||||
"electron-devtools-installer": "3.2.0",
|
"electron-devtools-installer": "3.2.0",
|
||||||
"quine-electron-drag-click": "1.0.6b",
|
"quine-electron-drag-click": "1.0.6d",
|
||||||
"electron-fetch": "1.9.1",
|
"electron-fetch": "1.9.1",
|
||||||
"electron-is-dev": "2.0.0",
|
"electron-is-dev": "2.0.0",
|
||||||
"electron-store": "8.2.0",
|
"electron-store": "8.2.0",
|
||||||
|
|
|
||||||
|
|
@ -1219,10 +1219,10 @@ queue@6.0.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
inherits "~2.0.3"
|
inherits "~2.0.3"
|
||||||
|
|
||||||
quine-electron-drag-click@1.0.6b:
|
quine-electron-drag-click@1.0.6d:
|
||||||
version "1.0.6-b"
|
version "1.0.6-d"
|
||||||
resolved "https://registry.npmjs.org/quine-electron-drag-click/-/quine-electron-drag-click-1.0.6-b.tgz#778d064db08d82241ae79357ffe982db444c47b2"
|
resolved "https://registry.npmjs.org/quine-electron-drag-click/-/quine-electron-drag-click-1.0.6-d.tgz#210fc244fdf3a11b3ad1b2e2d7d7670176b5e19b"
|
||||||
integrity sha512-m9uTUhHJf2q3878J8F1UHKRvgVxusodpqn924HePZ42YlfCQa3c85YDa2Ys8BbazmV8GC9f8uEUoKVJBXwOFTw==
|
integrity sha512-2geemTnPP3GuEGzOR/IbbXbTf+JX/VERjerA4r2TuXYHSanNiEbMWSSZ2wD8RllOnp/tBIE+O4CmmPfJ86rYQQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
bindings "^1.5.0"
|
bindings "^1.5.0"
|
||||||
node-addon-api "^3.0.2"
|
node-addon-api "^3.0.2"
|
||||||
|
|
|
||||||
|
|
@ -100,32 +100,6 @@ const config: webpack.Configuration[] = [
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
'color-convert': 'commonjs color-convert',
|
|
||||||
'color-string': 'commonjs color-string',
|
|
||||||
columnify: 'commonjs columnify',
|
|
||||||
lodash: 'commonjs lodash',
|
|
||||||
ms: 'commonjs ms',
|
|
||||||
'normalize-url': 'commonjs normalize-url',
|
|
||||||
'parse-url': 'commonjs parse-url',
|
|
||||||
'php-escape-shell': 'commonjs php-escape-shell',
|
|
||||||
plist: 'commonjs plist',
|
|
||||||
// 'react-dom': 'commonjs react-dom',
|
|
||||||
'redux-thunk': 'commonjs redux-thunk',
|
|
||||||
redux: 'commonjs redux',
|
|
||||||
reselect: 'commonjs reselect',
|
|
||||||
'seamless-immutable': 'commonjs seamless-immutable',
|
|
||||||
stylis: 'commonjs stylis',
|
|
||||||
'@xterm/addon-unicode11': 'commonjs @xterm/addon-unicode11',
|
|
||||||
args: 'commonjs args',
|
|
||||||
mousetrap: 'commonjs mousetrap',
|
|
||||||
open: 'commonjs open',
|
|
||||||
'@xterm/addon-fit': 'commonjs @xterm/addon-fit',
|
|
||||||
'@xterm/addon-image': 'commonjs @xterm/addon-image',
|
|
||||||
'@xterm/addon-search': 'commonjs @xterm/addon-search',
|
|
||||||
'@xterm/addon-web-links': 'commonjs @xterm/addon-web-links',
|
|
||||||
'@xterm/addon-webgl': 'commonjs @xterm/addon-webgl',
|
|
||||||
'@xterm/addon-canvas': 'commonjs @xterm/addon-canvas',
|
|
||||||
xterm: 'commonjs xterm'
|
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.IgnorePlugin({resourceRegExp: /.*\.js.map$/i}),
|
new webpack.IgnorePlugin({resourceRegExp: /.*\.js.map$/i}),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue