Commit graph

2327 commits

Author SHA1 Message Date
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
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 529ffe4513 Merge branch 'master' into dbkr/make_it_work 2019-12-09 13:25:41 +00:00
David Baker 52e7532789 Add electron-package script (copied verbatim) 2019-12-09 12:50:45 +00:00
David Baker 986c12b451 Remove support for the origin migrator
Requires https://github.com/vector-im/riot-web/pull/11631
2019-12-09 12:49:41 +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
David Baker a2c5d6176f Initial copy of files from the riot-web repo
None of this will work as it will need tweaking (at the very least
I've not copied the origin migrator because that's had long enough)
but these are files which already existed in their current state and
so don't need re-reviewing.
2019-12-06 18:17:34 +00:00
David Baker 3b8c4dfb86
Initial commit 2019-12-06 13:07:37 +00:00