fix script appimage

pull/1830/head
audric 4 years ago
parent 63afc1cecd
commit 9578918653

@ -10,7 +10,8 @@ module.exports = async function(context) {
if (process.platform !== 'linux') { if (process.platform !== 'linux') {
return; return;
} }
const isAppImage = context.targets.name === 'appImage'; const isAppImage =
context.targets.name === 'appImage' || context.targets.some(e => e.name === 'appImage');
console.log( console.log(
'targets', 'targets',
context.targets.map(target => target.name) context.targets.map(target => target.name)

Loading…
Cancel
Save