Skip to content

[WIP] Feat/uepr 58 migrate scratch desktop react 18 #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm-*
/*.provisionprofile

# don't store the assets downloaded with the `fetch` script
/static/assets/
/static/fetched/

# generated translation files
/translations
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Scratch 3.0 as a standalone desktop application
## Developer Instructions

### Releasing a new version
# TODO: Update readme once scratch-desktop uses scratch-gui from an npm package

Let's assume that you want to make a new release, version `3.999.0`, corresponding to `scratch-gui` version
`0.1.0-prerelease.20yymmdd`.
Expand Down
18 changes: 18 additions & 0 deletions electron-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ directories:
appId: edu.mit.scratch.scratch-desktop
productName: "Scratch 3"
publish: # empty provider list = don't publish
files:
- dist/main/
- dist/renderer/
- package.json
extraResources: # copy the downloaded static assets to make sure they are available for the artifact
- from: static/
to: static/
filter:
- "**/*"
mac:
category: public.app-category.education
entitlements: buildResources/entitlements.mac.plist
Expand Down Expand Up @@ -45,3 +54,12 @@ appx:
nsis:
oneClick: false # allow user to choose per-user or per-machine
artifactName: "Scratch ${version} Setup.${ext}"
linux:
target: AppImage
executableName: scratch-desktop
# Currently Linux builds are supported only for development and have
# not been tested in a production environment.
category: development
# Ensure sandbox permissions are set
asarUnpack:
- chrome-sandbox
9 changes: 0 additions & 9 deletions electron-webpack.json5

This file was deleted.

Loading