diff --git a/build/afterPackHook.js b/build/afterPackHook.js index 56adcc83e..9dd79b59e 100644 --- a/build/afterPackHook.js +++ b/build/afterPackHook.js @@ -10,7 +10,8 @@ module.exports = async function(context) { if (process.platform !== 'linux') { return; } - const isAppImage = context.targets.name === 'appImage'; + const isAppImage = + context.targets.name === 'appImage' || context.targets.some(e => e.name === 'appImage'); console.log( 'targets', context.targets.map(target => target.name)