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: improve macOS app signing in CI, optimize pnpm dependency builds, and simplify pnpm install command
Tw9373351d76f270
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.ymlindex 0ec38dad..911b9c76 100644--- a/.github/actions/setup-env/action.yml+++ b/.github/actions/setup-env/action.yml@@ -66,10 +66,7 @@ runs:- name: Install dependenciesif: env.SETUP_NODE == 'true'shell: bash- run: pnpm install --frozen-lockfile --config.ignore-scripts=false- env:- # Suppress build script warnings in CI- PNPM_IGNORE_BUILD_APPROVALS: true+ run: pnpm install --frozen-lockfile# Rust Environment Setup- name: Setup Rust for Linuxdiff --git a/.github/workflows/pake-cli.yaml b/.github/workflows/pake-cli.yamlindex fbdca189..85fa1253 100644--- a/.github/workflows/pake-cli.yaml+++ b/.github/workflows/pake-cli.yaml@@ -131,10 +131,31 @@ jobs:echo "Running: node dist/cli.js $ARGS"node dist/cli.js $ARGS- # Ad-hoc sign the DMG on macOS to reduce quarantine issues- if [ "${{ runner.os }}" == "macOS" ] && [ -f "${{ inputs.name }}.dmg" ]; then- echo "Signing DMG file..."- codesign --force --sign - "${{ inputs.name }}.dmg"+ # Ad-hoc sign the .app bundle on macOS before packaging+ if [ "${{ runner.os }}" == "macOS" ]; then+ # Find the .app bundle+ APP_BUNDLE=$(find src-tauri/target -name "*.app" -type d | grep -E "(release|universal)" | head -1)++ if [ -n "$APP_BUNDLE" ]; then+ echo "Signing app bundle: $APP_BUNDLE"+ codesign --force --deep --sign - "$APP_BUNDLE"++ # Re-create DMG if it exists+ if [ -f "${{ inputs.name }}.dmg" ]; then+ echo "Re-creating DMG with signed app..."+ rm "${{ inputs.name }}.dmg"++ # Create a temporary directory for DMG contents+ TMP_DIR=$(mktemp -d)+ cp -R "$APP_BUNDLE" "$TMP_DIR/"++ # Create new DMG+ hdiutil create -volname "${{ inputs.name }}" -srcfolder "$TMP_DIR" -ov -format UDZO "${{ inputs.name }}.dmg"++ # Clean up+ rm -rf "$TMP_DIR"+ fi+ fifi- name: Build App (Windows)diff --git a/package.json b/package.jsonindex 8b1410b6..674a67c0 100644--- a/package.json+++ b/package.json@@ -89,6 +89,7 @@"pnpm": {"overrides": {"sharp": "^0.34.5"- }+ },+ "onlyBuiltDependencies": ["esbuild", "sharp"]}}