fix: rcedit import in afterPack - icon was not being embedded in exe

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Administrator 2026-03-12 01:22:56 +01:00
parent ea35bfa065
commit dc1c338d97

View File

@ -3,7 +3,7 @@ const path = require("path");
module.exports = async function afterPack(context) { module.exports = async function afterPack(context) {
let rcedit; let rcedit;
try { try {
rcedit = require("rcedit").rcedit; rcedit = require("rcedit");
} catch { } catch {
console.warn(" rcedit: skipped - rcedit not installed"); console.warn(" rcedit: skipped - rcedit not installed");
return; return;