diff --git a/patch_icon3.js b/patch_icon3.js index 88d84bd..00f911c 100644 --- a/patch_icon3.js +++ b/patch_icon3.js @@ -104,7 +104,7 @@ total += replaceNum(full, pos.PRELUDE_POSITION, newPRP) console.log(`total patches: ${total}`) fs.writeFileSync(EXE, full) -fs.unlinkSync(EXE + '.notail').catch?.(() => {}) +try { fs.unlinkSync(EXE + '.notail') } catch {} try { fs.unlinkSync(CLEAN + '.pe_only') } catch {} console.log(`done: ${EXE} = ${full.length} bytes`)