From 9e63320086488899303a0efc63f678fe38343e2c Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 25 May 2021 15:55:12 +0200 Subject: Electron 13 support on Linux (#1447) * Bump dbus-next to 0.9.2 Older dbus-next seems to have problems with building with Electron 13 ABI. Also upgrades nan (a transitive dependency of dbus-next) to 2.14.2. * Explcitly specify Electron ABI 89 electron-rebuild seems to have problems with finding the correct ABI for Electron 13, despite node-abi being updated to the latest version and containing an entry for Electron 13 in abi-registry.json. This is probably caused by Electron 13 still being marked as a future target in abi-registry.json. This commit pins the ABI version to 89 for Electron 13 and should be reverted once node-abi marks Electron 13 as released. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index ef27a202c..3bfbf1125 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "manage-translations": "node ./src/i18n/manage-translations.js", "prebuild": "preval-build-info-cli && gulp build", "build": "electron-builder", - "rebuild": "electron-rebuild", + "rebuild": "electron-rebuild --force-abi=98", "commit": "git-cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "contributors": "all-contributors", @@ -75,7 +75,7 @@ "cld": "2.7.0", "css": "2.2.4", "darkreader": "4.7.15", - "dbus-next": "0.8.2", + "dbus-next": "0.9.2", "du": "^0.1.0", "electron-dl": "1.14.0", "electron-fetch": "1.7.3", -- cgit v1.2.3-54-g00ecf