This commit is contained in:
Philip Peterson 2025-04-13 02:51:13 -07:00
parent b9e3d1ca15
commit d86fcc90ed
No known key found for this signature in database
GPG key ID: 354311183FC6519B

4
bin/cp-snapshot.js vendored
View file

@ -76,9 +76,9 @@ exec "$SCRIPT_DIR/${params.packager.executableName}.bin" "--no-sandbox" "$@"
await fs.writeFile(executable, loaderScript)
await fs.chmod(executable, 0o755)
} catch (e) {
console.error('failed to create loader for sandbox fix: ' + e.message, chalk.red)
console.error('failed to create loader for sandbox fix: ' + e.message)
throw new Error('Failed to create loader for sandbox fix')
}
log('sandbox fix successfully applied', chalk.green)
console.log('sandbox fix successfully applied')
}