mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 18:18:55 +00:00
Do not try to make ico singular
This commit is contained in:
parent
3a6ae0d660
commit
cedbb443af
@ -32,19 +32,9 @@ function iconBuild(options, callback) {
|
||||
if (options.platform === 'win32') {
|
||||
if (!iconIsIco(options.icon)) {
|
||||
console.warn('Icon should be an .ico to package for Windows');
|
||||
returnCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
singleIco(options.icon)
|
||||
.then(outPath => {
|
||||
options.icon = outPath;
|
||||
returnCallback();
|
||||
})
|
||||
.catch(error => {
|
||||
console.warn('Skipping process to make .ico icon contain only a single image:', error);
|
||||
returnCallback();
|
||||
});
|
||||
returnCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user