diff --git a/scripts/build.js b/scripts/build.js index 145ef02..e4ca9a4 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -19,7 +19,9 @@ async function buildWin() { `node -e "require('fs').copyFileSync(process.execPath, '${OUTPUT_PATH}')" `, ) - execSync(`signtool remove /s ${OUTPUT_PATH}`) + try { + execSync(`signtool remove /s ${OUTPUT_PATH}`) + } catch {} execSync( [