Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
feat: copy application icons to build output for all platforms and update package version.
Tw93bbe40e35807c
diff --git a/.github/workflows/single-app.yaml b/.github/workflows/single-app.yamlindex dd6a477c..279e358c 100644--- a/.github/workflows/single-app.yaml+++ b/.github/workflows/single-app.yaml@@ -153,6 +153,10 @@ jobs:mv src-tauri/target/release/bundle/deb/*.deb output/linux/${{inputs.title}}_`arch`.debmv src-tauri/target/release/bundle/appimage/*.AppImage output/linux/"${{inputs.title}}"_`arch`.AppImage+ if [ -f "src-tauri/png/${{ inputs.name }}_512.png" ]; then+ cp "src-tauri/png/${{ inputs.name }}_512.png" output/linux/+ fi+- name: Build for macOSif: matrix.os == 'macos-latest'timeout-minutes: 25@@ -165,6 +169,12 @@ jobs:mkdir -p output/macosmv src-tauri/target/universal-apple-darwin/release/bundle/dmg/*.dmg output/macos/"${{inputs.title}}".dmg+ if [ -f "src-tauri/png/${{ inputs.name }}_512.png" ]; then+ cp "src-tauri/png/${{ inputs.name }}_512.png" output/macos/+ elif [ -f "src-tauri/icons/${{ inputs.name }}.icns" ]; then+ cp "src-tauri/icons/${{ inputs.name }}.icns" output/macos/+ fi+- name: Build for Windowsif: matrix.os == 'windows-latest'timeout-minutes: 20@@ -184,6 +194,18 @@ jobs:Get-ChildItem -Path "src-tauri\target\" -Recurse -Name "*.msi" | Write-Hostexit 1}++++ $pngPath = "src-tauri\png\${{ inputs.name }}_512.png"+ $icoPath = "src-tauri\png\${{ inputs.name }}_256.ico"++ if (Test-Path $pngPath) {+ Copy-Item -Path $pngPath -Destination "output\windows\"+ } elseif (Test-Path $icoPath) {+ Copy-Item -Path $icoPath -Destination "output\windows\"+ }+git checkout -- src-tauri/Cargo.lock- name: Rust cache storediff --git a/package.json b/package.jsonindex 4681991f..96c346d9 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "pake-cli",- "version": "3.6.2",+ "version": "3.6.3","description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。","engines": {"node": ">=18.0.0"