This commit is contained in:
Philip Peterson 2025-04-24 19:33:20 -07:00
parent 1f4d50201e
commit 2a9e46a416
No known key found for this signature in database
GPG key ID: 354311183FC6519B

12
bin/mk-snapshot.js vendored
View file

@ -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' : '')),
[ [