Commit graph

2357 commits

Author SHA1 Message Date
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 238d503341
Merge pull request #18 from vector-im/dbkr/debrepo
Build the deb into a repo
2019-12-13 17:22:07 +00:00
David Baker 4d2c8883de Use jq 2019-12-13 17:21:24 +00:00
David Baker 54421f8dc6 Merge remote-tracking branch 'origin/master' into dbkr/debrepo 2019-12-13 17:19:38 +00:00
David Baker 5bfd0ed383
Merge pull request #17 from vector-im/dbkr/moredocker
Better Docker Support
2019-12-13 17:18:16 +00:00
David Baker 39c6db4063
Merge pull request #14 from vector-im/dbkr/debcontrol
Use a custom control file for the Debian package
2019-12-13 17:16:43 +00:00
David Baker bc90d011ae set both on one line 2019-12-13 16:46:29 +00:00
David Baker 26735585b2 Actually add the distributions file
and also remove env.sh which didn;t want to be here
2019-12-13 16:42:59 +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 d7b8d25a34
More appropriate section
Co-Authored-By: Hubert Chathi <hubert@uhoreg.ca>
2019-12-13 15:48:56 +00:00
David Baker c9be601c7f Fix readme 2019-12-13 12:18:32 +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 dc42e2cafa
Merge pull request #15 from vector-im/dbkr/config
Support config directories
2019-12-13 11:46:43 +00:00
David Baker 50b43bfa60
Merge pull request #16 from vector-im/dbkr/allow_no_notarise
Don't bail if we can't notarise
2019-12-13 11:46:27 +00:00
David Baker fbec6db1a0
Typing is hard
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-12-13 11:46:02 +00:00
David Baker 8931242580 Don't bail if we can't notarise
Just print a big fat warning instead.
2019-12-13 11:21:34 +00:00
David Baker e214c0f19f Support config directories 2019-12-13 11:13:44 +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 98fa34f56f
Merge pull request #13 from vector-im/dbkr/setversion
Set version automatically
2019-12-13 09:57:57 +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 c43a742df4
Merge pull request #12 from vector-im/dbkr/windows_signing
Sign natively on Windows
2019-12-12 09:47:09 +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 754634ef31
Merge pull request #11 from vector-im/dbkr/lint
Fix the linting errors
2019-12-10 18:16:27 +00:00
David Baker dcaa6a886b
Merge pull request #10 from vector-im/dbkr/electron_api_updates
Electron API Updates
2019-12-10 18:16:00 +00:00
David Baker 47d9fc6c83 Merge remote-tracking branch 'origin/master' into dbkr/electron_api_updates 2019-12-10 18:15:12 +00:00
David Baker 36f741ebf7
Merge pull request #9 from vector-im/dbkr/asar
Package webapp into an asar archive
2019-12-10 18:14:55 +00:00
David Baker 14a919cf9b Fix the linting errors 2019-12-10 18:10:15 +00:00
David Baker a13c0e0be5 Electron API updates
A couple of changes to properties rather than functions and the
register*Protocol functionsd are now synchronous and so don't need
a completion callback.
2019-12-10 18:02:20 +00:00
David Baker 680caed505 Remove unnecessary logging 2019-12-10 17:56:50 +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 2cfc96cca7
Merge pull request #8 from vector-im/dbkr/scripts
Sanitise scripts
2019-12-10 15:23:48 +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 bc73f0ba7f
Merge pull request #6 from vector-im/dbkr/exit_after_importkey
Exit after importing key
2019-12-10 14:58:14 +00:00
David Baker b8f0ef30d2 Exit after importing key 2019-12-10 14:50:57 +00:00
David Baker 2e9146ab78
Merge pull request #5 from vector-im/dbkr/mkdirp
Use portable mkdirp
2019-12-10 14:44:15 +00:00
David Baker c30c0e126d
Merge branch 'master' into dbkr/mkdirp 2019-12-10 14:43:57 +00:00
David Baker 9f3633299a
Merge pull request #4 from vector-im/dbkr/explicit_node
Add explicit 'node' to scripts
2019-12-10 14:43:26 +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 056f33db37
Merge pull request #3 from vector-im/dbkr/yarnruncheck
Check properly
2019-12-09 20:04:17 +00:00
David Baker fbe8652fb1 Check properly
yarn check != yarn run check
2019-12-09 17:57:45 +00:00
David Baker 26587b6775
Merge pull request #2 from vector-im/dbkr/rimraf
Add rimraf
2019-12-09 17:21:48 +00:00
David Baker 611e130ac7 Add rimraf
Needed for clean
2019-12-09 17:20:32 +00:00
David Baker 4cad44a54f
Merge pull request #1 from vector-im/dbkr/make_it_work
Build electron app from pre-built tarball
2019-12-09 14:50:01 +00:00
David Baker ff17e753e1
Riot has a capital
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-12-09 14:00:10 +00:00
David Baker 51227abd2a PUB_KEY_URL 2019-12-09 13:59:38 +00:00
David Baker ecbaf144b2 Remove build resource config
We use the default now
2019-12-09 13:58:18 +00:00