From 03d4f007a3d035e004f18389dfe771bba64a5ab2 Mon Sep 17 00:00:00 2001 From: silentrald Date: Wed, 25 Dec 2024 16:15:34 +0800 Subject: [PATCH 1/2] [wiki] added deb install thru ppa repo in github --- docs/wiki/Linux.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/wiki/Linux.md b/docs/wiki/Linux.md index 0ab1eb25..3babd06e 100644 --- a/docs/wiki/Linux.md +++ b/docs/wiki/Linux.md @@ -6,11 +6,34 @@ Go to [Releases](https://github.com/Zagrios/bs-manager/releases) page and go to ### Ubuntu, Debian (deb) +#### PPA Repository + +Refer to [bs-manager-deb](https://github.com/silentrald/bs-manager-deb). + +Add the BSManager PPA repository into your system with the following commands. + +```bash +curl -fsSL https://raw.githubusercontent.com/silentrald/bs-manager-deb/refs/heads/main/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/bs-manager.gpg +echo "deb [signed-by=/usr/share/keyrings/bs-manager.gpg] https://raw.githubusercontent.com/silentrald/bs-manager-deb/refs/heads/main ./" | sudo tee /etc/apt/sources.list.d/bs-manager.list +sudo apt update +``` + +Install the `bs-manager` package using `apt`. +```bash +sudo apt install bs-manager +``` + +#### dpkg install + Download the `.deb` file in the releases and run the following command: ```bash dpkg -i ./bsmanager.deb ``` +**NOTE:** When installed using dpkg, BSManager will not automatically update to the latest version. You have to either: +* Download the latest `.deb` file on the Releases page; or +* Install thru PPA repository to automatically update with `sudo apt update & sudo apt upgrade`. + ### Arch (AUR) Refer to [bs-manager-git](https://aur.archlinux.org/packages/bs-manager-git). From 23d9a605df466d52b46168de5fd8c39ef1e84819 Mon Sep 17 00:00:00 2001 From: Vladimir Romashchenko Date: Wed, 1 Jan 2025 18:11:39 -0500 Subject: [PATCH 2/2] Update flatpak dependencies to non-EOL versions --- electron-builder.config.js | 4 ++++ package.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/electron-builder.config.js b/electron-builder.config.js index 465ba255..e51608a5 100644 --- a/electron-builder.config.js +++ b/electron-builder.config.js @@ -51,6 +51,10 @@ const config = { fpm: ["--after-install=build/after-install.sh"], }, flatpak: { + // Version of org.electronjs.Electron2.BaseApp + baseVersion: "24.08", + // Version of org.freedesktop.Platform + runtimeVersion: "24.08", finishArgs: [ // Wayland/X11 Rendering "--socket=wayland", diff --git a/package.json b/package.json index 35b8da3d..64957912 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "test": "jest", "test:unit": "jest ./src/__tests__/unit", "publish": "npm run build && electron-builder -c.win.certificateSha1=206941d969c4fa8a0e04d9427def361e13b02fd0 --config electron-builder.config.js --publish always --win --x64", - "publish:linux": "npm run build && electron-builder --config electron-builder.config.js --publish never --linux --x64" + "publish:linux": "npm run build && electron-builder --config electron-builder.config.js --publish never --linux --x64", + "publish:flatpak": "npm run build && env DEBUG='@malept/flatpak-bundler' npx electron-builder --config electron-builder.config.js --publish never --linux flatpak" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [