fix: wrap cleanup unlinkSync in try-catch (CI)

This commit is contained in:
Savsis? 2026-08-30 19:06:18 +05:00
parent 023ebae786
commit 8d0eaafceb

View file

@ -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`)