Commit graph

49 commits

Author SHA1 Message Date
Michael Telatynski 193de5182f
Update scripts for compatibility with latest NodeJS Security Release (#1628)
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2024-04-17 15:12:29 +01:00
renovate[bot] b34f3d2323
Update all non-major dependencies (#1553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-05 15:53:32 +00:00
renovate[bot] bc4c4159dc
Update all non-major dependencies (#1438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-17 09:47:57 +00:00
renovate[bot] 3bfe26a1f8
Update dependency prettier to v3 (#1405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 18:12:16 +00:00
Michael Telatynski 8aee984b04
Enable ES2020 to match matrix-react-sdk (#931) 2023-04-27 19:10:51 +01:00
Mathieu Velten cf94a1e49a
Use a fully static seshat build (#631)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-24 12:19:10 +00:00
renovate[bot] 645a79f956
Update dependency mkdirp to v3 (#644)
* Update dependency mkdirp to v3

* Iterate

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-18 15:08:33 +00:00
Michael Telatynski 0d0b333f40
Add support for Linux arm64 (#446) 2023-04-18 11:38:26 +01:00
Michael Telatynski 1654030c5f
Iterate ARM support in CI (#587) 2023-03-23 13:22:29 +00:00
Andy Balaam 0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Telatynski d766aef435
Enable strict mode on hak tsconfig (#483) 2022-12-14 10:47:35 +00:00
Michael Telatynski 56370de568
Improve use of Typescript (#474)
* Switch out needle with node-fetch

* Iterate

* Update asar package and switch to canonical name

* Use ts-node for scripts

* Iterate

* Update yarn.lock

* Use node:stream.promises

* Remove logfile

* Fix types

* Fix types
2022-12-05 11:50:49 +00:00
renovate[bot] f4bf425148
Update all non-major dependencies (#468)
* Update all non-major dependencies

* Iterate PR

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-01 07:20:55 +00:00
Michael Telatynski 8c3c190856
Revert back to using libsqlcipher0 for Debian & Ubuntu packages of Desktop (#367)
* Revert back to using libsqlcipher0 for Debian & Ubuntu packages of Element Desktop

Add option to static link for linux instead of forcing it

* Fix linux variants and add CI job

* Fix workflow syntax and add concurrency

* public all the things
2022-05-27 09:15:47 +01:00
Michael Telatynski ef075489b4
Upgrade node-kaytar for modern Visual Studio support & CI native building (#347) 2022-04-25 18:58:34 +01:00
Andrew Morgan 042d8b1427
Build statically-linked sqlcipher for Unix (#334) 2022-04-19 16:59:37 +01:00
J. Ryan Stinnett 989e030d97
Update linting plugin (#294) 2022-01-10 12:57:33 +00:00
David Baker 326e6577e1
Convert hak to TypeScript (#289)
* 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>
2021-12-14 14:32:27 +00:00
David Baker 3fb802e563 Update to electron 13
and to seshat 2.3.0 which supports it.
2021-07-21 15:27:49 +01:00
David Baker bd85f19c15 Use the target-specific build dir for sqlcipher / openssl 2021-07-09 10:07:07 +01:00
David Baker a8f44fd6e9
Merge pull request #226 from vector-im/dbkr/universally_speaking
Support universal builds
2021-07-07 11:19:26 +01:00
David Baker 9913b0ff78
Fix confused toolchain / target naming
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-07-07 10:58:54 +01:00
David Baker e07bfc1d6a Support universal builds
Hopefully adequately documented in the README
2021-07-06 23:52:19 +01:00
David Baker b5725da9ea lint 2021-07-06 19:06:58 +01:00
David Baker 5bbce91e51 Check target with rustc directly
To avoid depending on rustup (at least when not cross-compiling)
2021-07-06 19:01:34 +01:00
J. Ryan Stinnett b8cb53e11b Fix Windows target arch in native build 2021-06-25 13:10:08 +01:00
J. Ryan Stinnett 6579ba80b4 More copyright headers 2021-06-24 15:11:57 +01:00
J. Ryan Stinnett c3a36bb17d Cross-compile matrix-seshat for aarch64-apple-darwin 2021-06-23 16:18:09 +01:00
J. Ryan Stinnett f3c1db3313 Cross-compile SQLCipher for aarch64-apple-darwin 2021-06-23 16:18:09 +01:00
J. Ryan Stinnett c57a173649 Check for Rust host and target support 2021-06-23 16:18:09 +01:00
Hubert Chathi b4af8d9ce5 remove unneeded stuff 2020-06-03 16:47:09 -04:00
Hubert Chathi b366dbb460 fix lint errors and add copyright info 2020-05-28 15:30:00 -04:00
Hubert Chathi 19edcd436e use keytar to store pickle keys 2020-05-28 15:07:39 -04:00
J. Ryan Stinnett 8da3c976d6 Add cfg to access the hak.json 2020-04-04 00:21:52 +01:00
J. Ryan Stinnett fdd44e9796 Extract dep versions out to hak.json 2020-04-03 23:20:56 +01:00
David Baker 18b8685e87 Make the openssl version a variable
At least just hardcode it once rather than three times
2020-04-03 19:21:39 +01:00
David Baker 280871d0fb Update openssl
Apparently openssl move tarballs to /old/ once there's a new version
so all the links break. I guess we should detect what the latest version
is and use that. For now, update the URL.
2020-04-03 19:08:39 +01:00
David Baker 5b3ecd34a3 Missed an await 2020-03-01 14:19:34 +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
David Baker dfef609a3f We need python too 2020-02-19 10:03:36 +00:00
David Baker 84aa8c10c1 Set rust toolchain appropriately 2020-02-18 11:37:27 +00:00
David Baker 69a30fb9d0 also check for patch 2020-02-18 11:05:32 +00:00
David Baker 52032aac14 Docker powered linux building 2020-02-17 20:10:58 +00:00
David Baker 161a76de46 of course nmake is special too 2020-02-17 15:59:55 +00:00
David Baker 19ee3d4aff Add some checks for the tools we need
May not be exhastive, but useful on Windows where you need to
remember to install stuff.
2020-02-17 15:44:06 +00:00
David Baker fa3925194d Lint hak scripts 2020-02-17 14:52:24 +00:00
David Baker a0d9359ef0 Working seshat building on Windows 2020-02-15 16:52:41 +00:00
David Baker 337ccf02aa Patch for sqlcipher makefile on windows 2020-02-14 11:32:48 +00:00
David Baker 0258d456e6 Initial commit of native dependency building. 2020-02-13 23:52:16 +00:00