2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-06 14:30:49 +00:00

Do not try to make ico singular

This commit is contained in:
Jia Hao 2016-03-11 00:03:28 +08:00
parent 3a6ae0d660
commit cedbb443af

View File

@ -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;
}