From 3fb802e563c7ecd26c25a8663a5d30c51508d837 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 21 Jul 2021 15:27:49 +0100 Subject: [PATCH] Update to electron 13 and to seshat 2.3.0 which supports it. --- hak/matrix-seshat/build.js | 3 +++ package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hak/matrix-seshat/build.js b/hak/matrix-seshat/build.js index a2bcec5..0468d47 100644 --- a/hak/matrix-seshat/build.js +++ b/hak/matrix-seshat/build.js @@ -258,6 +258,9 @@ async function buildSqlCipherUnix(hakEnv, moduleInfo) { } async function buildMatrixSeshat(hakEnv, moduleInfo) { + // seshat now uses n-api so we shouldn't need to specify a node version to + // build against, but it does seems to still need something in here, so leaving + // it for now: we should confirm how much of this it still actually needs. const env = hakEnv.makeGypEnv(); if (!hakEnv.isLinux()) { diff --git a/package.json b/package.json index af097e6..2247b7b 100644 --- a/package.json +++ b/package.json @@ -77,12 +77,12 @@ "typescript": "^4.1.3" }, "hakDependencies": { - "matrix-seshat": "^2.2.3", + "matrix-seshat": "^2.3.0", "keytar": "^5.6.0" }, "build": { "appId": "im.riot.app", - "electronVersion": "12.0.14", + "electronVersion": "13.1.6", "files": [ "package.json", {