Commit graph

31 commits

Author SHA1 Message Date
Christopher Willis-Ford
bf420cb764 fix fetch script for new library schema 2020-10-28 15:47:58 -07:00
Christopher Willis-Ford
307027a873 remove rebuild-deps script, package-deps.json
These are unnecessary if scratch-gui lists its build dependencies in
`dependencies` instead of `devDependencies`.
2020-09-01 12:08:26 -07:00
Christopher Willis-Ford
a26ec04491 print a warning if rebuild-deps changes deps 2020-08-14 12:01:56 -07:00
Christopher Willis-Ford
f6a336af20 update library paths 2020-08-11 20:07:49 -07:00
Christopher Willis-Ford
f3b8251408 build scratch-gui from source instead of using its build output 2020-08-11 20:07:28 -07:00
Christopher Willis-Ford
6f7f6bb674 add script to merge scratch-gui deps
This is in preparation for having webpack build scratch-gui source
instead of consuming its build output. This script merges the
dependencies listed in package-deps.json with those listed in
scratch-gui's package.json, using the package-deps.json version in case
of conflict, then writes the result into the `devDependencies` section
of scratch-desktop's package.json.
2020-08-10 18:46:26 -07:00
Christopher Willis-Ford
84f0701f41 override provisioning profile for mas-dev build 2020-07-24 17:07:21 -07:00
Christopher Willis-Ford
7c7ddd1e6c build mas-dev on CircleCI 2020-07-24 17:07:21 -07:00
Christopher Willis-Ford
472cad2172 fix support for non-signed CI builds 2020-07-24 17:07:21 -07:00
Christopher Willis-Ford
000bff75ed support notarize with password or keychain 2020-07-24 17:07:21 -07:00
Christopher Willis-Ford
d08841382a modularize npm scripts, support non-signed builds, ... 2020-07-24 17:07:21 -07:00
Christopher Willis-Ford
245a3ec0d7 put scratch-gui install into scratch-desktop postinstall 2020-07-24 17:07:21 -07:00
Christopher Willis-Ford
c36c5c90f4 use 32-bit Electron for NSIS installer
Use 'nsis:ia32' instead of just 'nsis' for the Windows direct-download
build. This means we explicitly request a 32-bit build rather than
allowing electron-builder to default; the default is currently to make a
64-bit build.
resolves #114
2020-06-03 16:33:49 -07:00
Christopher Willis-Ford
1bc9f570cd allow non-notarized mac build for testing
Skipping notarization isn't strictly wrong, but needs a big warning
since the build probably won't run on Catalina.
2020-05-22 16:16:56 -07:00
Christopher Willis-Ford
3cdcb199bd add settings for mas-dev build 2020-05-22 15:19:28 -07:00
Christopher Willis-Ford
53f7c5f577 swap MAS and DMG build order 2020-05-13 17:32:47 -07:00
Christopher Willis-Ford
b26c0b6bd3 fix npm run dist:dir 2020-03-17 18:55:40 -07:00
Christopher Willis-Ford
5c2303a9b5 bubble errors out from electron-builder-wrapper 2020-01-16 12:40:20 -08:00
Christopher Willis-Ford
ccaca91bea fix code signing step for non-Store macOS build 2020-01-16 12:36:38 -08:00
Christopher Willis-Ford
9c9d7c6979 notarize non-MAS macOS build (required for 10.15) 2020-01-16 12:36:13 -08:00
Chris Willis-Ford
d3b269e4b2
Merge pull request #93 from LLK/paulkaplan-patch-2
Support 3.0 library syntax when fetching assets
2020-01-15 10:46:24 -08:00
Paul Kaplan
aa3c1abbc0
Support 3.0 library syntax when fetching assets
Fixes https://github.com/LLK/scratch-desktop/issues/92
2020-01-14 11:28:27 -05:00
Paul Kaplan
f11e1c4279
Use dist path for library JSON files of GUI
In conjunction with https://github.com/LLK/scratch-gui/pull/5277, since we removed /src from the published gui files
2019-11-01 11:12:17 -04:00
Christopher Willis-Ford
c327bc3de4 Add comments to electron-builder-wrapper.js 2019-09-16 09:24:21 -07:00
Christopher Willis-Ford
d077e79a8a skip code signing for AppX builds 2019-09-11 18:55:21 -07:00
Christopher Willis-Ford
f3346944a6 add 'npm run watch-gui', similar to build-gui 2019-07-09 11:29:17 -07:00
Christopher Willis-Ford
91e16c2ab5 fix scripts/fetchMediaLibraryAssets.js missing some sprite assets
Assets which are referenced by a sprite but not referenced by the sound,
costume, or backdrop libraries were being missed by previous versions. I
also removed the default parameter to several methods in order to reduce
the likelihood of similar mistakes in the future.
2019-06-24 14:27:14 -07:00
Christopher Willis-Ford
7b13482bc6 improve scripts/build-gui.js error reporting, compatibility 2019-06-24 12:41:25 -07:00
Christopher Willis-Ford
d79811d842 make build-gui script work on all platforms 2019-06-24 11:35:12 -07:00
Christopher Willis-Ford
071ba28fc8 Fix static assets path 2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
42cba6414e Add media library assets, fetch script 2018-10-19 15:19:41 -07:00