Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
a3a2d86
fix: add deb/rpm target to linux builder
renovate[bot] Aug 22, 2025
28c84dd
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 3, 2025
30eecaa
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 4, 2025
ff42ea5
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 5, 2025
cce29b0
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 7, 2025
1abce2b
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 8, 2025
23665a2
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 9, 2025
914cf67
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 11, 2025
a9c54e8
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 12, 2025
4e43d67
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 13, 2025
0728741
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 14, 2025
c40ae4a
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 16, 2025
ee2cf94
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 17, 2025
51b7732
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 18, 2025
67540c8
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 19, 2025
d52120c
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 21, 2025
6cf2df9
Merge branch 'scratchfoundation:develop' into develop
jenningsloy318 Oct 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions electron-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,20 @@ nsis:
oneClick: false # allow user to choose per-user or per-machine
artifactName: "Scratch ${version} Setup.${ext}"
linux:
target: AppImage
target:
- AppImage
- deb
- rpm
executableName: scratch-desktop
# Currently Linux builds are supported only for development and have
# not been tested in a production environment.
category: development
category: Education
# Ensure sandbox permissions are set
asarUnpack:
- chrome-sandbox
# DEB package specific configuration
icon: buildResources/ScratchDesktop.png
synopsis: Scratch 3 Desktop
description: Scratch 3.0 as a self-contained desktop application
maintainer: "Scratch Foundation <[email protected]>"
vendor: "Scratch Foundation"
10 changes: 10 additions & 0 deletions scripts/electron-builder-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ const calculateTargets = function (wrapperConfig) {
linuxAppImage: {
name: 'appimage',
platform: 'linux'
},
linuxDeb: {
name: 'deb',
platform: 'linux'
},
linuxRpm: {
name: 'rpm',
platform: 'linux'
}
};
const targets = [];
Expand Down Expand Up @@ -154,6 +162,8 @@ const calculateTargets = function (wrapperConfig) {
break;
case 'linux':
targets.push(availableTargets.linuxAppImage);
targets.push(availableTargets.linuxDeb);
targets.push(availableTargets.linuxRpm);
break;
default:
throw new Error(`Could not determine targets for platform: ${process.platform}`);
Expand Down