2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 04:47:54 +00:00

Fix #574 - Allow build to continue if icon conversion fails (PR#585)

By unsetting `options.icon` if input cannot be converted.
This commit is contained in:
David Kramer 2018-04-22 12:57:58 -07:00 committed by Ronan Jouchet
parent bbb513d420
commit 2d09455c17

View File

@ -96,6 +96,7 @@ function iconBuild(inpOptions, callback) {
})
.catch((error) => {
log.warn('Skipping icon conversion to .icns', error);
options.icon = undefined;
returnCallback();
});
}