mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -09:00
debug
This commit is contained in:
parent
1f4d50201e
commit
2a9e46a416
1 changed files with 12 additions and 0 deletions
12
bin/mk-snapshot.js
vendored
12
bin/mk-snapshot.js
vendored
|
|
@ -49,6 +49,18 @@ async function main() {
|
||||||
const startupBlobPath = path.join(outputBlobPath, 'snapshot_blob.bin');
|
const startupBlobPath = path.join(outputBlobPath, 'snapshot_blob.bin');
|
||||||
|
|
||||||
console.log(`Generating startup blob in "${outputBlobPath}"`);
|
console.log(`Generating startup blob in "${outputBlobPath}"`);
|
||||||
|
childProcess.execSync(
|
||||||
|
'ls',
|
||||||
|
[path.resolve(__dirname, '..', 'node_modules')]
|
||||||
|
);
|
||||||
|
childProcess.execSync(
|
||||||
|
'ls',
|
||||||
|
[path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot')]
|
||||||
|
);
|
||||||
|
childProcess.execSync(
|
||||||
|
'ls',
|
||||||
|
[path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin')]
|
||||||
|
);
|
||||||
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' ? '.cmd' : '')),
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue