File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,6 +167,14 @@ jobs:
167167 mkdir -p pkg-root/Applications
168168 cp -r "$APP_SRC" pkg-root/Applications/StealthDNS.app
169169
170+ # Update Info.plist with correct app name
171+ INFO_PLIST="pkg-root/Applications/StealthDNS.app/Contents/Info.plist"
172+ /usr/libexec/PlistBuddy -c "Set :CFBundleName StealthDNS" "$INFO_PLIST"
173+ /usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName StealthDNS" "$INFO_PLIST" 2>/dev/null || \
174+ /usr/libexec/PlistBuddy -c "Add :CFBundleDisplayName string StealthDNS" "$INFO_PLIST"
175+ /usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier com.opennhp.stealthdns" "$INFO_PLIST"
176+ /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${{ inputs.version }}" "$INFO_PLIST"
177+
170178 # Embed CLI in Contents/MacOS/ (same directory as UI executable)
171179 cp release/stealth-dns pkg-root/Applications/StealthDNS.app/Contents/MacOS/
172180
You can’t perform that action at this time.
0 commit comments