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
|
name: macos
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
name: ubuntu
|
name: ubuntu
|
||||||
#TODO re-enable these:
|
- os: windows-latest
|
||||||
#- windows-latest
|
name: win
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ 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.once('ready-to-show', () => {
|
||||||
hwin.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}"`);
|
console.log(`Generating startup blob in "${outputBlobPath}"`);
|
||||||
const res = childProcess.execFileSync(
|
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-src=' + snapshotScriptPath,
|
||||||
'--startup-blob=' + startupBlobPath,
|
'--startup-blob=' + startupBlobPath,
|
||||||
|
|
|
||||||
|
|
@ -99,8 +99,7 @@ const config: webpack.Configuration[] = [
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {},
|
||||||
},
|
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.IgnorePlugin({resourceRegExp: /.*\.js.map$/i}),
|
new webpack.IgnorePlugin({resourceRegExp: /.*\.js.map$/i}),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue