diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 3ba5c01bb..7812e5127 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -67,11 +67,6 @@ jobs: pnpm i pnpm check ${{ matrix.target }} - - name: Setup Linux Config - if: matrix.os == 'ubuntu-22.04' - run: | - cp src-tauri/tauri.linux.conf.json src-tauri/tauri.conf.json - - name: Tauri build uses: tauri-apps/tauri-action@v0 env: @@ -86,8 +81,8 @@ jobs: APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} with: - tagName: alpha - releaseName: "Clash Verge Rev Alpha" + tagName: alpha-__VERSION__ + releaseName: "Clash Verge Rev Alpha __VERSION__" releaseBody: "More new features are now supported." releaseDraft: false prerelease: true diff --git a/src-tauri/tauri.linux.arm.conf.json b/src-tauri/tauri.linux.arm.conf.json new file mode 100644 index 000000000..7be1d1812 --- /dev/null +++ b/src-tauri/tauri.linux.arm.conf.json @@ -0,0 +1,40 @@ +{ + "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", + "identifier": "io.github.clash-verge-rev.clash-verge-rev", + "bundle": { + "targets": ["deb", "rpm"], + "linux": { + "deb": { + "depends": ["openssl"], + "desktopTemplate": "./packages/linux/clash-verge.desktop", + "provides": ["clash-verge"], + "conflicts": ["clash-verge"], + "replaces": ["clash-verge"], + "postInstallScript": "./packages/linux/post-install.sh", + "preRemoveScript": "./packages/linux/pre-remove.sh" + }, + "rpm": { + "depends": ["openssl"], + "desktopTemplate": "./packages/linux/clash-verge.desktop", + "provides": ["clash-verge"], + "conflicts": ["clash-verge"], + "obsoletes": ["clash-verge"], + "postInstallScript": "./packages/linux/post-install.sh", + "preRemoveScript": "./packages/linux/pre-remove.sh" + } + }, + "externalBin": [ + "./resources/clash-verge-service", + "./resources/install-service", + "./resources/uninstall-service", + "./sidecar/verge-mihomo", + "./sidecar/verge-mihomo-alpha" + ] + }, + "app": { + "trayIcon": { + "iconPath": "icons/tray-icon.ico", + "iconAsTemplate": true + } + } +}