Commit graph

725 commits

Author SHA1 Message Date
David Baker 11e75d0490 better upgrade squirrel-windows too 2020-02-17 11:40:49 +00:00
David Baker 9e59f38dfc Update electron-builder 2020-02-17 11:23:40 +00:00
David Baker a13fb235c9 Port 2c0968e40e from riot-web 2020-02-17 09:57:48 +00:00
David Baker a0d9359ef0 Working seshat building on Windows 2020-02-15 16:52:41 +00:00
David Baker 0258d456e6 Initial commit of native dependency building. 2020-02-13 23:52:16 +00:00
David Baker 4f1586ed81 Bump to 1.5.6
Not that it makes a lot of difference at this stage, but for general
sanity.
2019-12-13 17:24:12 +00:00
David Baker 54421f8dc6 Merge remote-tracking branch 'origin/master' into dbkr/debrepo 2019-12-13 17:19:38 +00:00
David Baker 9a3c0f7cdc rename indocker script 2019-12-13 16:37:07 +00:00
David Baker 39c5e64406 Bundle deb into a repo 2019-12-13 16:14:33 +00:00
David Baker 6def288521 Slightly better docker support
So you can run yarn install in the docker container
2019-12-13 12:17:54 +00:00
David Baker 6e6e7d82c8 Use a custom control file for the Debian package
So we can say we replace the riot-web package
2019-12-13 10:45:27 +00:00
David Baker 3b58fdc8d9 Set version automatically
Convert the check script to a script that sets the version to match
whatever Riot is being packaged.

Add a README because the two ways of interacting with versions are
starting to get complex to reason about.

Also add a docker build script.
2019-12-12 19:33:29 +00:00
David Baker dff36277c4 Sign natively on Windows
* Replace the windows signing script with certificateSubjectName
   option which finds the right certificate from the smart card
 * Remove the windows signing script as electron-builder does it
   out-of-the-box on windows
 * Remove the cert file which isn't necessary with native signing
2019-12-11 17:34:19 +00:00
David Baker 8d3529787a Search for the webapp resources on startup
and error if we can't find them.
2019-12-10 17:40:17 +00:00
David Baker 8322676df7 Oops, don't remove the aftersign script 2019-12-10 16:04:16 +00:00
David Baker 672b846364 Pack the webapp into an asar 2019-12-10 15:54:17 +00:00
David Baker cb41f2d66d Sanitise scripts
* Remove install:electron - it ran install-app-deps which makes sure
   native deps are installed but the native deps we use don't work
   with electron-builder anyway (they don't use binding.gyp) so this
   does absolutely nothing at all.
 * Rename build:electron to build (there is only one thing to build
   now).
2019-12-10 15:01:04 +00:00
David Baker c30c0e126d
Merge branch 'master' into dbkr/mkdirp 2019-12-10 14:43:57 +00:00
David Baker faecf171e0 Use portable mkdirp
Works on both *nix / Windows
2019-12-10 14:38:09 +00:00
David Baker e361292b96 Add explicit 'node' to scripts
Otherwise they just get run with the windows scripting host
on Windows which does not go so well.
2019-12-10 14:33:41 +00:00
David Baker fbe8652fb1 Check properly
yarn check != yarn run check
2019-12-09 17:57:45 +00:00
David Baker 611e130ac7 Add rimraf
Needed for clean
2019-12-09 17:20:32 +00:00
David Baker ecbaf144b2 Remove build resource config
We use the default now
2019-12-09 13:58:18 +00:00
David Baker 6874f5cdb1 Remove separate platform build commands
Just always build for the native platform
2019-12-09 13:38:14 +00:00
David Baker 5a0c1cda22 Files I've added
This still won't work, still a WIP
2019-12-06 18:20:31 +00:00