* Fix macOS builds by pinning Typescript
Due to https://github.com/joyent/node-verror/issues/86
* Fix linux build, we no longer use tclsh
* Correct fix for linux build issue
* fix it for realsies this time
Couple of minor fixes (although doesn't look like it fixes https://github.com/vector-im/element-web/issues/20467)
Also un-pin the version as we now can (and should) upgrade electron
as we would a regular dependency.
* Convert hak to TypeScript
* Fix linter & remove stray log line
* Fix more linting errors
In one case by switching to import() and hence esnext
* Return type for getNodeModuleBin
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* More types
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Patch part 1: remove electronVersion
We no longer need to specify electronVersion at all since electron
is now in devDependencies. Removing it means electron can be updated
the same way as any other dependency.
* Only allow main app page to be opened via URL
We previously allowed any URL to be opened in the main electron
window. Allow only the main app page, as commented.
* use exact equals
* Make url logic clearer
* Patch part 1: remove electronVersion
We no longer need to specify electronVersion at all since electron
is now in devDependencies. Removing it means electron can be updated
the same way as any other dependency.
* Only allow main app page to be opened via URL
We previously allowed any URL to be opened in the main electron
window. Allow only the main app page, as commented.
* use exact equals
* Make url logic clearer
Fixes an issue where Element-desktop can not establish a connection with a homeserver that has a Let's Encrypt SSL certificate
Fixesvector-im/element-web#19261