From 7038dfdea3d3a021765b386886f02ccb9d6c1090 Mon Sep 17 00:00:00 2001 From: Giovanni Ferri Date: Sun, 2 Aug 2026 18:33:11 +0100 Subject: [PATCH] Rename the .app bundle to Bambu Profile Manager "Bpm Tray" wasn't self-explanatory on its own in Launchpad/Spotlight - renamed CFBundleName/CFBundleDisplayName and the actual .app folder to "Bambu Profile Manager" (matching the product name everywhere else). Release asset filenames stay BpmTray_vX_darwin_arch.zip for URL stability across renames; only the bundle's own name changed. Verified locally: built, zipped, unzipped fresh, opened via `open`, confirmed the server responds and Spotlight's own kMDItemDisplayName reads "Bambu Profile Manager.app". --- .github/workflows/release.yml | 8 ++++++-- packaging/macos/Info.plist.template | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80522a2..e48121e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,12 +72,16 @@ jobs: sips -z $double $double internal/webui/assets/logo.png --out /tmp/icon.iconset/icon_${size}x${size}@2x.png >/dev/null done iconutil -c icns /tmp/icon.iconset -o /tmp/AppIcon.icns - - name: Assemble BpmTray.app for both architectures + - name: Assemble Bambu Profile Manager.app for both architectures run: | version="${{ github.ref_name }}" version="${version#v}" for arch in arm64 amd64; do - app="dist-tray/darwin_${arch}/BpmTray.app" + # The .app folder itself is named "Bambu Profile Manager.app" + # (that's what shows in Launchpad/Spotlight/Finder) - the release + # asset's own filename stays the technical "BpmTray_..." for a + # stable download URL across renames. + app="dist-tray/darwin_${arch}/Bambu Profile Manager.app" mkdir -p "$app/Contents/MacOS" "$app/Contents/Resources" sed "s/VERSION_PLACEHOLDER/${version}/" packaging/macos/Info.plist.template > "$app/Contents/Info.plist" cp "dist-tray/darwin_${arch}/bpm-tray" "$app/Contents/MacOS/bpm-tray" diff --git a/packaging/macos/Info.plist.template b/packaging/macos/Info.plist.template index 99722bd..49164e1 100644 --- a/packaging/macos/Info.plist.template +++ b/packaging/macos/Info.plist.template @@ -3,9 +3,9 @@ CFBundleName - Bpm Tray + Bambu Profile Manager CFBundleDisplayName - Bpm Tray + Bambu Profile Manager CFBundleIdentifier uk.syscode-labs.bpm-tray CFBundleExecutable