diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f826e72..d70748f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: steps: # 1. 检出代码 - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # 2. 安装 Linux 系统依赖(仅 Ubuntu) - name: Install dependencies (Ubuntu only) @@ -48,11 +48,17 @@ jobs: sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils # 3. 安装 Node.js + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: lts/* - cache: 'npm' # 或 yarn / pnpm + cache: 'pnpm' + cache-dependency-path: pnpm-lock.yaml # 4. 安装 Rust - name: Install Rust stable @@ -68,7 +74,7 @@ jobs: # 6. 安装前端依赖 - name: Install frontend dependencies - run: npm install + run: pnpm install --frozen-lockfile # 7. 构建并发布(核心步骤) - uses: tauri-apps/tauri-action@v0 @@ -80,4 +86,4 @@ jobs: releaseBody: 'See the assets to download and install.' releaseDraft: true # 先创建草稿,手动确认后再发布 prerelease: false - args: ${{ matrix.args }} \ No newline at end of file + args: ${{ matrix.args }} diff --git a/app-icon.png b/app-icon.png new file mode 100644 index 0000000..7a180ff Binary files /dev/null and b/app-icon.png differ diff --git a/package.json b/package.json index 864a722..3f5275e 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@vicons/utils": "^0.1.4", "@vitejs/plugin-vue": "^6.0.8", "sass": "^1.102.0", - "typescript": "~7.0.2", + "typescript": "~5.6.2", "unplugin-auto-import": "^21.1.0", "unplugin-vue-components": "^32.1.0", "vite": "^8.2.1",