Skip to content

Commit 5245f75

Browse files
committed
Update GitHub Actions workflow to modify app name in Info.plist and enhance app icon generation; update UserInterfaceState binary file in Xcode project workspace.
1 parent 726128d commit 5245f75

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,25 @@ jobs:
5050
echo "Generating AppIcon..."
5151
appicon pakeplus.png --output-path ./PakePlus/Assets.xcassets/AppIcon.appiconset
5252
53+
- name: Update App Name
54+
run: |
55+
echo "Modifying App Name in Info.plist..."
56+
PLIST_PATH="./PakePlus/Info.plist"
57+
58+
# 检查 Info.plist 是否存在
59+
if [ ! -f "$PLIST_PATH" ]; then
60+
echo "Error: Info.plist not found at $PLIST_PATH"
61+
exit 1
62+
fi
63+
64+
# 修改 CFBundleDisplayName(显示名称)
65+
/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName '派克Plus'" "$PLIST_PATH"
66+
67+
# 修改 CFBundleName(Bundle 名称,可选)
68+
/usr/libexec/PlistBuddy -c "Set :CFBundleName 'PakePlus'" "$PLIST_PATH"
69+
70+
echo "✅ App Name updated to 'PakePlus' in Info.plist"
71+
5372
- name: Build IPA Package
5473
run: |
5574
export THEOS=$HOME/theos
Binary file not shown.

0 commit comments

Comments
 (0)