From cb121a9442194acfceadc5cdb41d3ba6e218a4c8 Mon Sep 17 00:00:00 2001 From: silentrald Date: Fri, 25 Oct 2024 13:34:24 +0800 Subject: [PATCH] [chore] change target builds to deb, rpm, and pacman --- .github/workflows/release-linux.yaml | 3 +++ package.json | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml index 25a280e0..45d33c36 100644 --- a/.github/workflows/release-linux.yaml +++ b/.github/workflows/release-linux.yaml @@ -20,6 +20,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v4 + - name: Install dependencies for rpm and pacman + run: sudo apt-get install -y rpm libarchive-tools + - name: Use Node.js uses: actions/setup-node@v4 with: diff --git a/package.json b/package.json index f9dfce73..1d515fc8 100644 --- a/package.json +++ b/package.json @@ -69,14 +69,22 @@ }, "linux": { "target": [ - "AppImage" + "deb", + "rpm", + "pacman" ], "icon": "./build/icons/png", "category": "Utility;Game;", "extraResources": [ "./build/icons/png", "./assets/scripts/DepotDownloader" - ] + ], + "protocols": { + "name": "BSManager", + "schemes": [ + "bsmanager" + ] + } }, "directories": { "app": "release/app",