mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-15 14:30:56 -04:00
Made npm run dist
on Linux build an app image.
As discussed in #117, there is no bandwidth for official Linux releases, but this at least makes getting a working Linux binary from source quite easy. An app image is a self-contained binary. Unlike deb, rpm and flatpak, creating an app image doesn't seem to require installing any external tooling.
This commit is contained in:
parent
ae8c1867d2
commit
885115a731
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