🔖 3.2.8

This commit is contained in:
Tw93
2025-08-21 20:31:09 +08:00
parent 210646f359
commit d37738c032
4 changed files with 7 additions and 6 deletions

View File

@@ -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

6
dist/cli.js vendored
View File

@@ -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)) {

4
package-lock.json generated
View File

@@ -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",

View File

@@ -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"