diff --git a/CLAUDE.md b/CLAUDE.md index 199b67d..74139a6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -172,6 +172,7 @@ cargo check --manifest-path=src-tauri/Cargo.toml - **NEVER commit code automatically** - User handles all git operations - **NEVER generate commit messages** - User writes their own commit messages +- **NEVER run npm publish automatically** - Always remind user to run it manually - Only make code changes, user decides when and how to commit - Test before user commits diff --git a/dist/cli.js b/dist/cli.js index b375dcc..8f758b4 100755 --- a/dist/cli.js +++ b/dist/cli.js @@ -22,7 +22,7 @@ import sharp from 'sharp'; import * as psl from 'psl'; var name = "pake-cli"; -var version = "3.2.6"; +var version = "3.2.8"; var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。"; var engines = { node: ">=16.0.0" @@ -431,9 +431,9 @@ StartupNotify=true await fsExtra.ensureDir(srcAssetsDir); await fsExtra.writeFile(srcDesktopFilePath, desktopContent); // Set up desktop file in bundle configuration - // Use relative path from .pake directory to assets + // Use absolute path from src-tauri directory to assets tauriConf.bundle.linux.deb.files = { - [`/usr/share/applications/${desktopFileName}`]: `../assets/${desktopFileName}`, + [`/usr/share/applications/${desktopFileName}`]: `assets/${desktopFileName}`, }; const validTargets = ['deb', 'appimage', 'rpm']; if (validTargets.includes(options.targets)) { diff --git a/package-lock.json b/package-lock.json index 6b6fcfe..d866934 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pake-cli", - "version": "3.2.5", + "version": "3.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pake-cli", - "version": "3.2.5", + "version": "3.2.6", "license": "MIT", "dependencies": { "@tauri-apps/api": "^2.8.0", diff --git a/package.json b/package.json index c674dc8..b8a7f50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pake-cli", - "version": "3.2.6", + "version": "3.2.8", "description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。", "engines": { "node": ">=16.0.0"