🐛 Fixed the issue of package icon under Windows
This commit is contained in:
3
bin/options/index.ts
vendored
3
bin/options/index.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user