mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-14 22:11:01 -04:00
Merge 885115a731
into 460d012336
This commit is contained in:
commit
1d8253bd4e
1 changed files with 7 additions and 0 deletions
|
@ -117,6 +117,10 @@ const calculateTargets = function (wrapperConfig) {
|
|||
windowsDirectDownload: {
|
||||
name: 'nsis:ia32',
|
||||
platform: 'win32'
|
||||
},
|
||||
linuxAppImage: {
|
||||
name: 'appImage',
|
||||
platform: 'linux'
|
||||
}
|
||||
};
|
||||
const targets = [];
|
||||
|
@ -145,6 +149,9 @@ const calculateTargets = function (wrapperConfig) {
|
|||
}
|
||||
targets.push(availableTargets.macDirectDownload);
|
||||
break;
|
||||
case 'linux':
|
||||
targets.push(availableTargets.linuxAppImage);
|
||||
break;
|
||||
default:
|
||||
throw new Error(`Could not determine targets for platform: ${process.platform}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue