Commit graph

147 commits

Author SHA1 Message Date
Michael Telatynski ec33fb4509
Merge branch 'master' into t3chguy/depr8 2020-03-05 11:12:39 +00:00
Michael Telatynski 825d90e27b move the setter from the deprecated method also
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-05 11:12:01 +00:00
Michael Telatynski 6637787366
Merge pull request #37 from vector-im/t3chguy/sso
riot-desktop open SSO in browser so user doesn't have to auth twice
2020-03-03 22:28:05 +00:00
David Baker 88e51bd458
Merge pull request #39 from vector-im/dbkr/remove_win_certificate
Remove the certificate config for windows
2020-03-03 10:45:21 +00:00
David Baker 5816a07617 Remove the certificate config for windows
We override a lot of the config in our builder so we'll override
this there too, then the riot-desktop repo builds an unsigned
windows app by default rather than erroring if you don't have our
cert installed, which means other people don't have to patch
package.json to build it.
2020-03-03 10:40:53 +00:00
Michael Telatynski 15a9a3f704 update to electron 8.0.3 for VoiceOver fixes 2020-03-03 10:02:56 +00:00
Michael Telatynski c91a39097d Migrate from deprecated BrowserWindow::isMenuBarAutoHide() 2020-03-03 10:00:09 +00:00
Michael Telatynski 4b8b32c3e5 only register open-url handler on macos 2020-03-02 16:49:55 +00:00
Michael Telatynski dd45008291 update comments and win32 specialcase 2020-03-02 16:49:04 +00:00
Michael Telatynski d7ebad284e update comment 2020-03-02 16:46:50 +00:00
Michael Telatynski eac8118452 Small comment tweaks 2020-03-02 16:45:28 +00:00
Michael Telatynski 1f1cf95906 Fix entitlements.mac.plist 2020-03-02 16:34:04 +00:00
Michael Telatynski bbc44801c2 add missing protocol.js 2020-03-02 15:49:37 +00:00
Michael Telatynski d4dec89d24 bump to electron 8.0.2 2020-03-02 15:20:51 +00:00
Michael Telatynski abe074e43e riot-desktop open SSO in browser so user doesn't have to auth twice 2020-03-02 15:04:51 +00:00
David Baker 40eec12b86
Merge pull request #36 from vector-im/dbkr/missed_await
Missed an await
2020-03-02 10:38:08 +00:00
David Baker 5b3ecd34a3 Missed an await 2020-03-01 14:19:34 +00:00
David Baker 638fcabf16
Merge pull request #35 from vector-im/dbkr/exitcode
Exit with exit code on exception
2020-02-28 09:36:44 +00:00
David Baker 8aac5928a2
Merge pull request #34 from vector-im/dbkr/fix-set-version
Fix the set-version script
2020-02-28 09:31:59 +00:00
David Baker c4f6ff4dcd
Merge pull request #33 from vector-im/dbkr/docker-env
Pass through the env var we actually use to docker
2020-02-28 09:31:49 +00:00
David Baker de1090cc18 Actually pass a function 2020-02-27 21:43:19 +00:00
David Baker 8b8203cea8 Exit with exit code on exception
Otherwise running the check script will just exit with 0 which is
pointless.
2020-02-27 21:37:07 +00:00
David Baker 67a4c99907 Fix the set-version script
Call the right function to set package version and await
2020-02-27 17:34:34 +00:00
David Baker f48692bddb Merge branch 'master' into dbkr/docker-env 2020-02-27 17:30:55 +00:00
David Baker 18dbad4e8c Revert e0631770b5 & 9ec2407957
Which were accidentally comitted to master and also completely wrong
as it sets the version to the literal 'develop' which is silly.
2020-02-27 17:30:00 +00:00
David Baker fca983cc7d Merge branch 'master' into dbkr/docker-env 2020-02-27 17:22:38 +00:00
David Baker 9ec2407957 Don't shadow the import 2020-02-27 17:22:10 +00:00
David Baker a76ebed5d2 Merge branch 'master' into dbkr/docker-env 2020-02-27 17:19:49 +00:00
David Baker e0631770b5 Always update deb version
We always need the debian version to be correct.
2020-02-27 17:17:51 +00:00
David Baker af1f4715be Pass through the env var we actually use to docker 2020-02-27 16:52:09 +00:00
David Baker dffb74f3fd
Merge pull request #32 from vector-im/dbkr/setversion_mk_2
Set version in fetch script
2020-02-27 14:30:41 +00:00
David Baker f58532b556 The variable is called this thing now 2020-02-26 11:59:18 +00:00
David Baker 40dc1d9384 Set version in fetch script
Which plays better with doing develop builds.
2020-02-26 11:56:59 +00:00
Michael Telatynski c644f665f3
Merge pull request #30 from vector-im/t3chguy/spellcheck
Upgrade to electron 8.0.1 and implement spellchecking
2020-02-26 09:52:59 +00:00
David Baker c0e4ad4aff
Merge pull request #31 from vector-im/dbkr/fix_check
Fix check script
2020-02-24 17:52:21 +00:00
David Baker 75df21dfb1 Fix check script
Each command is an array so needs to be an array of arrays
2020-02-24 17:50:03 +00:00
Michael Telatynski 0d2b7ee157 Upgrade to electron 8.0.1 and implement spellchecking
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-24 17:16:35 +00:00
David Baker 2d053cbc49
Merge pull request #29 from vector-im/dbkr/fetch_develop
Support fetching the latest develop build
2020-02-24 17:05:28 +00:00
David Baker 0c28d1bfb2 Use needle consistently
and remove unused variable
2020-02-21 18:25:33 +00:00
David Baker b94c52c244 Support fetching the latest develop build
Frustratingly, this requires a buildkite API token, even though
the builds & artifacts are available without auth on the buildkite
website.
2020-02-21 18:17:31 +00:00
David Baker 5e6f3b4f55
Merge pull request #28 from vector-im/dbkr/maybe_enable_subpixel_rendering
Hopefully enable subpixel font rendering
2020-02-21 11:42:10 +00:00
David Baker 6cb90add1d
Merge pull request #27 from vector-im/dbkr/copy_hak_modules
Add our native modules separately into the files
2020-02-21 11:26:14 +00:00
David Baker 0577abd885 Hopefully enable subpixel font rendering
https://github.com/vector-im/riot-web/issues/12443 points out the
electron eccentricity that the background of a BrowserWindow is
'transparent' (whatever that actually means in practice) by default
which causes subpixel font rendering to be disabled. Set an explicit
background colour as per the faq entry.

Fixes https://github.com/vector-im/riot-web/issues/12443
2020-02-21 11:17:18 +00:00
David Baker 90913256f5 Add our native modules separately into the files
And also the package.json which, for reasons I'm not going to spend
the next two hours of my life wading through the electron-builder
source to discover, is no longer automatically included after adding
the files pattern. The node_modules folder is handled automatically
though, so is redundant.

Change the output directory structure so we have one directory with
all the built native modules under that we can just add to the files,
rather than having to add each one separately.

NB. electron-builder add its own filters to node_modules so that only
runtime (ie. not devDependencies) are copied. These seem to apply
even for manually specified path within node_modules. We can copy *to*
the node_modules directory, however...
2020-02-21 10:57:52 +00:00
David Baker 0ec93e296f
Merge pull request #26 from vector-im/dbkr/fix_setversion_win
Fix setversion script's yarn call on windows
2020-02-20 17:47:15 +00:00
David Baker 52f973b5b6
Merge pull request #25 from vector-im/dbkr/split_32_64_bit_builds
Split 32/64 bit building
2020-02-20 17:47:02 +00:00
David Baker 53b7966590 Be more consistent (and match README) 2020-02-20 17:40:19 +00:00
David Baker dd6f52e2de Fix setversion script's yarn call on windows 2020-02-19 14:34:27 +00:00
David Baker 8843116357 Split 32/64 bit building
As they'll need different native deps
2020-02-19 14:21:33 +00:00
David Baker d8c8e1b133 Make README md 2020-02-19 14:17:07 +00:00