2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 10:38:55 +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();
});
}