Isaiah Odhner
8053b38e58
Auto-format code with VS Code
...
Format JS and HTML using VS Code extension: https://marketplace.visualstudio.com/items?itemName=jbockle.jbockle-format-files
Dedented some files for now to make the diff intelligible:
- tools.js
- menus.js
- speech-recognition.js
- simulate-random-gestures.js
2022-01-18 19:40:58 -05:00
Isaiah Odhner
8502429f31
Fix CSP for Firebase, speculatively
...
There's a good chance this will run into problems when the database comes back online.
But it would be best to move away from Firebase anyways.
2022-01-15 17:45:36 -05:00
Isaiah Odhner
b75f6c31a8
Support CSP in Electron and in browser
2022-01-15 16:54:07 -05:00
Isaiah Odhner
c6c8c0c991
Add unsaved changes dialog when closing electron app
2022-01-15 16:54:07 -05:00
Isaiah Odhner
94f15618c2
Handle Xfce specially for setting the wallpaper
2022-01-14 01:09:41 -05:00
Isaiah Odhner
7e2e46a57e
Simplify
2022-01-14 00:39:38 -05:00
Isaiah Odhner
be45ba9bc3
Enable sandboxing in electron app
...
- This was a huge pain in the neck, literally and figuratively.
- Saving: WORKING
- Opening: WORKING
- Overwriting: WORKING
- Wallpaper: (reply was never sent...)
2022-01-14 00:39:38 -05:00
Isaiah Odhner
ec81e6aca8
Set up Content-Security-Policy for Electron app
2022-01-13 19:08:18 -05:00
Isaiah Odhner
6d4e98e23e
Move from "new-window" event to setWindowOpenHandler
2022-01-12 21:08:14 -05:00
Isaiah Odhner
c432fb59f2
Move from "remote" to "@electron/remote"
2022-01-12 20:09:42 -05:00
Isaiah Odhner
401475e180
Set up icon for electron app
...
- Linux uses BrowserWindow icon option, but the filename was incorrect.
- Windows and Mac use packagerConfig, which differentiates on the file extension automatically, but the file names have to be the same otherwise.
2021-11-19 20:31:27 -05:00
Isaiah Odhner
12f62ad7a0
Ditch electron-is-dev
...
This module was written before app.isPackaged existed.
The environment variable is now ELECTRON_DEBUG=1 (instead of ELECTRON_IS_DEV=1) for allowing opening the devtools in production.
2021-03-24 22:24:46 -04:00
Isaiah Odhner
f21433e1ff
Electron: prevent warning in terminal output
2021-02-15 12:40:25 -05:00
Isaiah Odhner
31b03afb45
Update electron
...
Fixes WebGL support, on Ubuntu... at least on my computer.
2021-02-07 12:29:20 -05:00
Isaiah Odhner
31edf30064
Unify TODO comments
2020-04-27 20:45:47 -04:00
Isaiah Odhner
d404b7afd7
Fix whitespace
2019-10-29 18:11:56 -04:00
Isaiah Odhner
089678b59b
Replace indexOf with includes
...
lebab --replace src/ --transform includes
2019-10-29 16:46:51 -04:00
Isaiah Odhner
d0e722d12c
Convert to arrow functions with lebab
...
npm install -g lebab@3.1.0
lebab --replace src/ --transform arrow
2019-10-29 14:46:29 -04:00
Isaiah Odhner
ff53eb6c18
Fix links in Manage Storage
2018-11-16 02:53:31 -05:00
Isaiah Odhner
fd22722f5a
Set minimum window size
2018-11-16 02:34:12 -05:00
Isaiah Odhner
3c675bef1b
Move some Electron integration into a file
2018-11-16 01:41:26 -05:00
Isaiah Odhner
100b8047c0
Handle all external links
2018-11-14 14:47:16 -05:00
Isaiah Odhner
2cd8b93c98
Exclude electron-debug from production
2018-08-24 22:28:06 -04:00
Isaiah Odhner
79a5dfccb9
Handle external links
2018-08-24 02:22:46 -04:00
Isaiah Odhner
aacbfa8530
Add icon for macOS
2018-08-24 01:51:01 -04:00
Isaiah Odhner
6d4c724a88
Set initial title potentially earlier
2018-08-24 00:15:59 -04:00
Isaiah Odhner
e7267b9075
Set up electron-debug and devtron
2018-08-24 00:15:21 -04:00
Isaiah Odhner
ec213c8f93
Add icon to window
2018-08-23 22:50:10 -04:00
Isaiah Odhner
135d49a155
Remove native menu in Electron
2018-08-23 22:23:43 -04:00
Isaiah Odhner
198427accb
Add Electron Forge
2018-08-23 21:59:00 -04:00