mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
wip
This commit is contained in:
parent
1671ca023b
commit
32908a528c
1 changed files with 1 additions and 7 deletions
8
bin/mk-snapshot.js
vendored
8
bin/mk-snapshot.js
vendored
|
|
@ -49,17 +49,11 @@ async function main() {
|
|||
const startupBlobPath = path.join(outputBlobPath, 'snapshot_blob.bin');
|
||||
|
||||
console.log(`Generating startup blob in "${outputBlobPath}"`);
|
||||
console.log(childProcess.execSync(
|
||||
'ls ' + path.resolve(__dirname, '..', 'node_modules')
|
||||
).toString());
|
||||
console.log(childProcess.execSync(
|
||||
'ls ' + path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot')
|
||||
).toString());
|
||||
console.log(childProcess.execSync(
|
||||
'ls ' + path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin')
|
||||
).toString());
|
||||
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue