Christopher Willis-Ford
5517f9a184
Set isScratchDesktop
2018-12-21 10:26:54 -08:00
Chris Willis-Ford
c238d121ea
Merge pull request #16 from cwillisf/store-prep
...
Store prep
2018-12-17 11:34:47 -08:00
Christopher Willis-Ford
0f9a52f34d
1.0.3
2018-12-14 15:05:43 -08:00
Christopher Willis-Ford
c8f6b38df2
Add last-resort hook to stop link navigation
...
Links which cause the browser to navigate to another page should be
removed or disabled in Scratch Desktop to prevent Electron from
navigating away from the editor. If we miss disabling or removing such a
link, this last-resort hook will disable navigation after the user
clicks a link.
2018-12-14 14:57:55 -08:00
Christopher Willis-Ford
6bf5d4a41a
Improve main window behavior and code readability
...
- Closing behavior on Mac is now consistent with other platforms
- The main window is not shown until ready
- Minor code reorg to separate concerns and improve readability
2018-12-14 13:07:24 -08:00
Christopher Willis-Ford
1145c44915
1.0.2
2018-12-14 11:01:22 -08:00
Christopher Willis-Ford
efaa2d957d
Don't apply entitlements to the Mac DevID build
2018-12-14 09:53:42 -08:00
Christopher Willis-Ford
f90534e09c
1.0.1
2018-12-14 00:44:45 -08:00
Christopher Willis-Ford
34cc1b5832
MAS: fix embedded provisioning profile
2018-12-13 21:17:02 -08:00
Christopher Willis-Ford
fe9c6e17cb
Add screenshot
2018-12-13 20:11:28 -08:00
Christopher Willis-Ford
40d0812a0c
Fix AppX publisher info
2018-12-13 19:18:50 -08:00
Christopher Willis-Ford
ce1844ad0a
Fix Microsoft Store logo size
2018-12-13 18:20:39 -08:00
Christopher Willis-Ford
b083252b50
Fix order of asset fetch & webpack build
2018-12-13 18:13:04 -08:00
Christopher Willis-Ford
54110ad6eb
Corrected location of AppX logos
2018-12-13 18:12:33 -08:00
Christopher Willis-Ford
28474afddb
Fix wide AppX icon
2018-12-13 17:51:32 -08:00
Christopher Willis-Ford
faf75a8cfc
Fix AppX app identity
2018-12-13 17:39:52 -08:00
Christopher Willis-Ford
7b55741ead
Add AppX icons
2018-12-13 17:36:49 -08:00
Christopher Willis-Ford
6537e1f931
Configure store and non-store builds for Mac & Win
2018-12-13 12:01:08 -08:00
Christopher Willis-Ford
356b4475b6
Add icon
2018-12-13 12:01:08 -08:00
Christopher Willis-Ford
2068dc50bb
Update package name and version
2018-12-13 12:01:08 -08:00
Chris Willis-Ford
505d7cc7e7
Merge pull request #11 from cwillisf/fix-quit-confirmation
...
Fix quit confirmation
2018-12-13 10:38:21 -08:00
Christopher Willis-Ford
64a06d5b8f
Obey scratch-gui's onbeforeunload result
...
The `scratch-gui` project saver uses `onbeforeunload` to request
confirmation before navigating away from an unsaved project.
Unfortunately Electron suppresses the confirmation dialog that browsers
would normally display. Instead, Electron offers a `will-prevent-unload`
event in the main process: this event fires when `onbeforeunload`
requests a confirmation dialog.
This change adds a handler for `will-prevent-unload` which displays a
quit confirmation dialog so that the overall behavior is similar to what
happens in a regular browser.
2018-12-12 17:10:43 -08:00
Christopher Willis-Ford
fcf629ba1c
Let scratch-gui handle 'onbeforeunload'
2018-12-12 17:07:04 -08:00
Christopher Willis-Ford
c9bcd14015
Add source-map-loader
2018-12-12 09:05:19 -08:00
Christopher Willis-Ford
69f48aefb8
npm upgrade
2018-12-04 23:00:21 -08:00
Christopher Willis-Ford
d2d6704360
Let npm reformat package-lock.json
...
Recent versions of `npm` record sub-dependency version ranges
differently, though the actual modules installed have not changed. I'm
separating this into its own commit so it doesn't make other changes
harder to see.
2018-12-03 15:39:42 -08:00
Christopher Willis-Ford
046c6188f9
Don't import scratch-gui internals
2018-11-08 18:48:44 -08:00
Christopher Willis-Ford
4767897f4b
only import electron-devtools-installer in dev mode
2018-10-31 15:57:04 -07:00
Christopher Willis-Ford
eff882c928
use rimraf and mkdirp to ensure clean builds
2018-10-31 15:40:27 -07:00
Christopher Willis-Ford
f761193c5f
set productName to "Scratch Desktop 3.0"
2018-10-31 15:20:21 -07:00
Christopher Willis-Ford
4771e849ea
add repository field to package.json
2018-10-31 15:02:01 -07:00
Christopher Willis-Ford
d1acf29f51
Merge branch 'electron-webpack' into develop
2018-10-31 14:52:34 -07:00
Christopher Willis-Ford
cb0852101e
Load default project on startup
2018-10-24 15:00:03 -07:00
Christopher Willis-Ford
78e6831cbb
Add ElectronStorageHelper
to load bundled assets
2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
071ba28fc8
Fix static assets path
2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
914f883c65
Eliminate redundant index.js
->index.jsx
shim
2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
53e8723086
Fix build with/without npm ln
, match scratch-gui
...
Match the versions of Webpack, Babel, and related plugins as used in
scratch-gui. That plus a few other tweaks means that this repository
builds the same with or without `npm ln scratch-gui`, and also means
that all syntax used in scratch-gui should build the same here.
2018-10-24 09:47:52 -07:00
Christopher Willis-Ford
42cba6414e
Add media library assets, fetch script
2018-10-19 15:19:41 -07:00
Christopher Willis-Ford
146a6f0de0
Override settings for minify and Babel
2018-10-18 19:03:56 -07:00
Christopher Willis-Ford
25c0954b94
Update electron-webpack and webpack
...
The old version of webpack takes a long time and then runs out of memory
when I add media library assets in `src/static`. The new version handles
it OK.
2018-10-17 17:22:48 -07:00
Christopher Willis-Ford
99b172d893
Add React dev tools
2018-10-13 01:26:58 -07:00
Christopher Willis-Ford
1de7228a8c
Tell Babel to target Electron 3.0.2; enable chunk splitting
2018-10-13 01:09:45 -07:00
Christopher Willis-Ford
751406722d
eslint: Switch src/ env from shared to node
2018-10-12 23:03:16 -07:00
Christopher Willis-Ford
606f28ae43
Upgrade to electron@^3.0.2
2018-09-27 14:43:04 -07:00
Christopher Willis-Ford
97db496efc
Fix lint rules for src/renderer/
2018-09-27 14:35:04 -07:00
Christopher Willis-Ford
4a8bac49dd
Copy static assets from GUI, load GUI from dist/
2018-09-27 14:35:02 -07:00
Christopher Willis-Ford
c6a229f57f
Webpack config fixups including react-intl
2018-09-27 14:32:25 -07:00
Christopher Willis-Ford
3785f7070e
Get scratch-gui working, kinda, sorta...
...
CSS isn't loaded and it takes a LONG time to compile, but it does load
the GUI. It also requires using `npm ln` for `scratch-gui`.
2018-09-27 14:32:22 -07:00
Christopher Willis-Ford
6adb950ef6
Add React, Redux, and related deps
2018-09-27 14:29:56 -07:00
Christopher Willis-Ford
13391df515
Use eslint-config-scratch
2018-09-27 14:28:23 -07:00