From 2a9e46a4162a02e45a9749841d8598962d248a82 Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Thu, 24 Apr 2025 19:33:20 -0700 Subject: [PATCH] debug --- bin/mk-snapshot.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bin/mk-snapshot.js b/bin/mk-snapshot.js index 0dceca93..3a2c36a3 100644 --- a/bin/mk-snapshot.js +++ b/bin/mk-snapshot.js @@ -49,6 +49,18 @@ async function main() { const startupBlobPath = path.join(outputBlobPath, 'snapshot_blob.bin'); 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( path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin', 'mksnapshot' + (process.platform === 'win32' ? '.cmd' : '')), [