Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

fix: release notarization flow and app naming; bump to 3.9.1

tw9384830ad472a8
diff --git a/.github/workflows/single-app.yaml b/.github/workflows/single-app.yaml
index 16833bb0..c674a439 100644
--- a/.github/workflows/single-app.yaml
+++ b/.github/workflows/single-app.yaml
@@ -272,7 +272,8 @@ jobs:
if: matrix.os == 'windows-latest'
timeout-minutes: 20
run: |
- $args = "${{ inputs.url }}", "--name", "${{ inputs.name }}"
+ # Use title as app product name on Windows to preserve display casing
+ $args = "${{ inputs.url }}", "--name", "${{ inputs.title }}"
# Auto-detect local icon or use provided icon
if ("${{ inputs.icon }}" -ne "") {
@@ -289,10 +290,13 @@ jobs:
# The CLI copies the MSI to project root and removes it from bundle directory
# Check project root first, then fallback to bundle directories
- $projectRootMsi = "${{ inputs.name }}.msi"
+ $projectRootMsi = "${{ inputs.title }}.msi"
+ $legacyProjectRootMsi = "${{ inputs.name }}.msi"
if (Test-Path $projectRootMsi) {
Move-Item -Path $projectRootMsi -Destination "output\windows\${{inputs.title}}_x64.msi"
+ } elseif (Test-Path $legacyProjectRootMsi) {
+ Move-Item -Path $legacyProjectRootMsi -Destination "output\windows\${{inputs.title}}_x64.msi"
} else {
# Check architecture-specific path (x64 builds)
$msiFiles = Get-ChildItem -Path "src-tauri\target\x86_64-pc-windows-msvc\release\bundle\msi\*.msi" -ErrorAction SilentlyContinue
@@ -308,6 +312,7 @@ jobs:
Write-Error "No MSI files found in expected locations"
Write-Host "Searched paths:"
Write-Host " - $projectRootMsi (project root)"
+ Write-Host " - $legacyProjectRootMsi (project root)"
Write-Host " - src-tauri\target\x86_64-pc-windows-msvc\release\bundle\msi\"
Write-Host " - src-tauri\target\release\bundle\msi\"
Write-Host "`nAll MSI files in target directory:"
diff --git a/dist/cli.js b/dist/cli.js
index 9de48962..852d4742 100644
--- a/dist/cli.js
+++ b/dist/cli.js
@@ -22,7 +22,7 @@ import * as psl from 'psl';
import { InvalidArgumentError, program as program$1, Option } from 'commander';
var name = "pake-cli";
-var version = "3.9.0";
+var version = "3.9.1";
var description = "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。";
var engines = {
node: ">=18.0.0"
diff --git a/package.json b/package.json
index 2625de1d..0553ffcc 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "pake-cli",
- "version": "3.9.0",
+ "version": "3.9.1",
"description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。",
"engines": {
"node": ">=18.0.0"
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 1f3c4728..9aba80cc 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -2564,7 +2564,7 @@ dependencies = [
[[package]]
name = "pake"
-version = "3.9.0"
+version = "3.9.1"
dependencies = [
"serde",
"serde_json",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index bfa6be30..f471a2dd 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pake"
-version = "3.9.0"
+version = "3.9.1"
description = "🤱🏻 Turn any webpage into a desktop app with Rust."
authors = ["Tw93"]
license = "MIT"