🐛 Fixed the issue of package icon under Windows

This commit is contained in:
Tw93
2025-08-21 16:57:18 +08:00
parent d15211921e
commit 210646f359
3 changed files with 10 additions and 3 deletions

View File

@@ -62,7 +62,8 @@ export default async function handleOptions(
identifier: getIdentifier(url),
};
appOptions.icon = await handleIcon(appOptions, url);
const iconPath = await handleIcon(appOptions, url);
appOptions.icon = iconPath || undefined;
return appOptions;
}