mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
This commit is contained in:
parent
ee9ebb0c12
commit
6340e0001c
5 changed files with 5 additions and 6 deletions
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
|
|
@ -18,8 +18,8 @@ jobs:
|
|||
name: macos
|
||||
- os: ubuntu-latest
|
||||
name: ubuntu
|
||||
#TODO re-enable these:
|
||||
#- windows-latest
|
||||
- os: windows-latest
|
||||
name: win
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ app.on('ready', () =>
|
|||
|
||||
const hwin = newWindow({width, height, x: startX, y: startY}, cfg, fn, profileName);
|
||||
windowSet.add(hwin);
|
||||
void hwin.loadURL(url)
|
||||
void hwin.loadURL(url);
|
||||
|
||||
hwin.once('ready-to-show', () => {
|
||||
hwin.show();
|
||||
|
|
|
|||
2
bin/mk-snapshot.js
vendored
2
bin/mk-snapshot.js
vendored
|
|
@ -50,7 +50,7 @@ async function main() {
|
|||
|
||||
console.log(`Generating startup blob in "${outputBlobPath}"`);
|
||||
const res = childProcess.execFileSync(
|
||||
path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin', 'mksnapshot' + (process.platform === 'win32' ? '.cmd' : '')),
|
||||
path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin', 'mksnapshot' + (process.platform === 'win32' ? '.exe' : '')),
|
||||
[
|
||||
'--startup-src=' + snapshotScriptPath,
|
||||
'--startup-blob=' + startupBlobPath,
|
||||
|
|
|
|||
|
|
@ -99,8 +99,7 @@ const config: webpack.Configuration[] = [
|
|||
}
|
||||
]
|
||||
},
|
||||
externals: {
|
||||
},
|
||||
externals: {},
|
||||
plugins: [
|
||||
new webpack.IgnorePlugin({resourceRegExp: /.*\.js.map$/i}),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue