Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 716e5df

Browse files
committed
bugfix: app bundle resources
Signed-off-by: 82Flex <82flex@gmail.com>
1 parent 5018bb0 commit 716e5df

File tree

19 files changed

+103
-93
lines changed

19 files changed

+103
-93
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ TrollSpeed is [Free Software](https://www.gnu.org/philosophy/free-sw.html) licen
5757

5858
### Localization
5959

60-
To add a language, create a new `.lproj` folder in `layout/Applications/TrollSpeed.app`.
60+
To add a language, create a new `.lproj` folder in `Resources`.
6161

6262
- en/zh-Hans [@Lessica](https://github.com/Lessica)
6363
- es [@Deci8BelioS](https://github.com/Deci8BelioS)

Resources/Info.plist

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>English</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>TrollSpeed</string>
9+
<key>CFBundleExecutable</key>
10+
<string>TrollSpeed</string>
11+
<key>CFBundleIconFile</key>
12+
<string>icon.png</string>
13+
<key>CFBundleIconName</key>
14+
<string>AppIcon</string>
15+
<key>CFBundleIdentifier</key>
16+
<string>ch.xxtou.hudapp</string>
17+
<key>CFBundleInfoDictionaryVersion</key>
18+
<string>6.0</string>
19+
<key>CFBundleName</key>
20+
<string>TrollSpeed</string>
21+
<key>CFBundlePackageType</key>
22+
<string>APPL</string>
23+
<key>CFBundleShortVersionString</key>
24+
<string>1.11.6</string>
25+
<key>CFBundleSignature</key>
26+
<string>????</string>
27+
<key>CFBundleURLTypes</key>
28+
<array>
29+
<dict>
30+
<key>CFBundleURLName</key>
31+
<string>ch.xxtou.hudapp</string>
32+
<key>CFBundleURLSchemes</key>
33+
<array>
34+
<string>trollspeed</string>
35+
</array>
36+
</dict>
37+
</array>
38+
<key>CFBundleVersion</key>
39+
<string>1.11.6</string>
40+
<key>LSApplicationCategoryType</key>
41+
<string>public.app-category.developer-tools</string>
42+
<key>NSHumanReadableCopyright</key>
43+
<string>Copyright © 2023-2024 Lessica &amp; Lakr Aream. All Rights Reserved.</string>
44+
<key>NSPrincipalClass</key>
45+
<string>HUDMainApplication</string>
46+
<key>UIApplicationShortcutItems</key>
47+
<array>
48+
<dict>
49+
<key>UIApplicationShortcutItemIconSymbolName</key>
50+
<string>wand.and.stars</string>
51+
<key>UIApplicationShortcutItemTitle</key>
52+
<string>Toggle HUD</string>
53+
<key>UIApplicationShortcutItemType</key>
54+
<string>ch.xxtou.shortcut.toggle-hud</string>
55+
</dict>
56+
</array>
57+
<key>UIApplicationShowsViewsWhileLocked</key>
58+
<false/>
59+
<key>UIApplicationSystemWindowsSecureKey</key>
60+
<true/>
61+
<key>UIBackgroundStyle</key>
62+
<string>UIBackgroundStyleDarkBlur</string>
63+
<key>UILaunchStoryboardName</key>
64+
<string>LaunchScreen</string>
65+
<key>UIRequiresFullScreen</key>
66+
<true/>
67+
<key>UIStatusBarStyle</key>
68+
<string>UIStatusBarStyleLightContent</string>
69+
<key>UISupportedInterfaceOrientations</key>
70+
<array>
71+
<string>UIInterfaceOrientationPortrait</string>
72+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
73+
<string>UIInterfaceOrientationLandscapeLeft</string>
74+
<string>UIInterfaceOrientationLandscapeRight</string>
75+
</array>
76+
<key>UIViewControllerBasedStatusBarAppearance</key>
77+
<false/>
78+
</dict>
79+
</plist>
File renamed without changes.

TrollSpeed.xcodeproj/project.pbxproj

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
/* End PBXBuildFile section */
8484

8585
/* Begin PBXFileReference section */
86-
0F43B7702B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../layout/Applications/TrollSpeed.app/es.lproj/Localizable.strings; sourceTree = "<group>"; };
87-
0F43B7712B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../layout/Applications/TrollSpeed.app/es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
88-
CC2A772F2B6AADB400796650 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = layout/Applications/TrollSpeed.app/Settings.bundle; sourceTree = SOURCE_ROOT; };
86+
0F43B7702B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../Resources/es.lproj/Localizable.strings; sourceTree = "<group>"; };
87+
0F43B7712B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../Resources/es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
88+
CC2A772F2B6AADB400796650 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = Resources/Settings.bundle; sourceTree = SOURCE_ROOT; };
8989
CC2BAFE22B5CA9DD00A429D1 /* TrollSpeed-Sandbox.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TrollSpeed-Sandbox.app"; sourceTree = BUILT_PRODUCTS_DIR; };
9090
CC2BAFE42B5CAF2200A429D1 /* Sandbox-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Sandbox-Info.plist"; sourceTree = "<group>"; };
9191
CC711D012B5BF550007235A6 /* TrollSpeed.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TrollSpeed.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -157,12 +157,12 @@
157157
CC711D7D2B5BF6B7007235A6 /* UIEventDispatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIEventDispatcher.h; sourceTree = "<group>"; };
158158
CC711D7E2B5BF772007235A6 /* hudapp-prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "hudapp-prefix.pch"; sourceTree = "<group>"; };
159159
CC711D7F2B5BF772007235A6 /* entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = entitlements.plist; sourceTree = "<group>"; };
160-
CC711D812B5BFA64007235A6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; name = Info.plist; path = layout/Applications/TrollSpeed.app/Info.plist; sourceTree = SOURCE_ROOT; };
161-
CC711D862B5BFCC4007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = layout/Applications/TrollSpeed.app/en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
162-
CC711D892B5BFCE0007235A6 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "layout/Applications/TrollSpeed.app/zh-Hans.lproj/Localizable.strings"; sourceTree = SOURCE_ROOT; };
163-
CC711D8D2B5BFD50007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = layout/Applications/TrollSpeed.app/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; };
164-
CC711D8F2B5BFD51007235A6 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "layout/Applications/TrollSpeed.app/zh-Hans.lproj/InfoPlist.strings"; sourceTree = SOURCE_ROOT; };
165-
CC711D922B5BFE66007235A6 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = layout/Applications/TrollSpeed.app/icon.png; sourceTree = SOURCE_ROOT; };
160+
CC711D812B5BFA64007235A6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; name = Info.plist; path = Resources/Info.plist; sourceTree = SOURCE_ROOT; };
161+
CC711D862B5BFCC4007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Resources/en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
162+
CC711D892B5BFCE0007235A6 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "Resources/zh-Hans.lproj/Localizable.strings"; sourceTree = SOURCE_ROOT; };
163+
CC711D8D2B5BFD50007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Resources/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; };
164+
CC711D8F2B5BFD51007235A6 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "Resources/zh-Hans.lproj/InfoPlist.strings"; sourceTree = SOURCE_ROOT; };
165+
CC711D922B5BFE66007235A6 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = Resources/icon.png; sourceTree = SOURCE_ROOT; };
166166
CC711D952B5BFF2F007235A6 /* GraphicsServices.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = GraphicsServices.tbd; sourceTree = "<group>"; };
167167
CC711D962B5BFF2F007235A6 /* SpringBoardServices.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = SpringBoardServices.tbd; sourceTree = "<group>"; };
168168
CC711D972B5BFF2F007235A6 /* BackBoardServices.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = BackBoardServices.tbd; sourceTree = "<group>"; };
@@ -613,7 +613,7 @@
613613
"$(inherited)",
614614
"$(PROJECT_DIR)/libraries",
615615
);
616-
MARKETING_VERSION = 1.11.5;
616+
MARKETING_VERSION = 1.11.6;
617617
PRODUCT_BUNDLE_IDENTIFIER = "ch.xxtou.hudapp-sandbox";
618618
PRODUCT_NAME = "$(TARGET_NAME)";
619619
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -656,7 +656,7 @@
656656
"$(inherited)",
657657
"$(PROJECT_DIR)/libraries",
658658
);
659-
MARKETING_VERSION = 1.11.5;
659+
MARKETING_VERSION = 1.11.6;
660660
PRODUCT_BUNDLE_IDENTIFIER = "ch.xxtou.hudapp-sandbox";
661661
PRODUCT_NAME = "$(TARGET_NAME)";
662662
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -813,7 +813,7 @@
813813
"$(inherited)",
814814
"THEOS_PACKAGE_INSTALL_PREFIX=\\\"\\\"",
815815
);
816-
INFOPLIST_FILE = layout/Applications/TrollSpeed.app/Info.plist;
816+
INFOPLIST_FILE = Resources/Info.plist;
817817
INFOPLIST_KEY_CFBundleDisplayName = TrollSpeed;
818818
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
819819
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@@ -827,7 +827,7 @@
827827
"$(inherited)",
828828
"$(PROJECT_DIR)/libraries",
829829
);
830-
MARKETING_VERSION = 1.11.5;
830+
MARKETING_VERSION = 1.11.6;
831831
PRODUCT_BUNDLE_IDENTIFIER = ch.xxtou.hudapp;
832832
PRODUCT_NAME = "$(TARGET_NAME)";
833833
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -857,7 +857,7 @@
857857
"$(inherited)",
858858
"THEOS_PACKAGE_INSTALL_PREFIX=\\\"\\\"",
859859
);
860-
INFOPLIST_FILE = layout/Applications/TrollSpeed.app/Info.plist;
860+
INFOPLIST_FILE = Resources/Info.plist;
861861
INFOPLIST_KEY_CFBundleDisplayName = TrollSpeed;
862862
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
863863
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@@ -871,7 +871,7 @@
871871
"$(inherited)",
872872
"$(PROJECT_DIR)/libraries",
873873
);
874-
MARKETING_VERSION = 1.11.5;
874+
MARKETING_VERSION = 1.11.6;
875875
PRODUCT_BUNDLE_IDENTIFIER = ch.xxtou.hudapp;
876876
PRODUCT_NAME = "$(TARGET_NAME)";
877877
PROVISIONING_PROFILE_SPECIFIER = "";

gen-control.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ __EOF__
3131
chmod 0644 layout/DEBIAN/control
3232

3333
# Write the Info.plist file
34-
defaults write $(pwd)/layout/Applications/TrollSpeed.app/Info.plist CFBundleVersion $VERSION
35-
defaults write $(pwd)/layout/Applications/TrollSpeed.app/Info.plist CFBundleShortVersionString $VERSION
36-
plutil -convert xml1 $(pwd)/layout/Applications/TrollSpeed.app/Info.plist
34+
defaults write $(pwd)/Resources/Info.plist CFBundleVersion $VERSION
35+
defaults write $(pwd)/Resources/Info.plist CFBundleShortVersionString $VERSION
36+
plutil -convert xml1 $(pwd)/Resources/Info.plist
3737
defaults write $(pwd)/supports/Sandbox-Info.plist CFBundleVersion $VERSION
3838
defaults write $(pwd)/supports/Sandbox-Info.plist CFBundleShortVersionString $VERSION
3939
plutil -convert xml1 $(pwd)/supports/Sandbox-Info.plist

layout/Applications/TrollSpeed.app/Info.plist

Lines changed: 2 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -2,78 +2,9 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CFBundleDevelopmentRegion</key>
6-
<string>English</string>
7-
<key>CFBundleDisplayName</key>
8-
<string>TrollSpeed</string>
9-
<key>CFBundleExecutable</key>
10-
<string>TrollSpeed</string>
11-
<key>CFBundleIconFile</key>
12-
<string>icon.png</string>
13-
<key>CFBundleIconName</key>
14-
<string>AppIcon</string>
15-
<key>CFBundleIdentifier</key>
16-
<string>ch.xxtou.hudapp</string>
17-
<key>CFBundleInfoDictionaryVersion</key>
18-
<string>6.0</string>
19-
<key>CFBundleName</key>
20-
<string>TrollSpeed</string>
21-
<key>CFBundlePackageType</key>
22-
<string>APPL</string>
235
<key>CFBundleShortVersionString</key>
24-
<string>1.11.5</string>
25-
<key>CFBundleSignature</key>
26-
<string>????</string>
27-
<key>CFBundleURLTypes</key>
28-
<array>
29-
<dict>
30-
<key>CFBundleURLName</key>
31-
<string>ch.xxtou.hudapp</string>
32-
<key>CFBundleURLSchemes</key>
33-
<array>
34-
<string>trollspeed</string>
35-
</array>
36-
</dict>
37-
</array>
6+
<string>1.11.6</string>
387
<key>CFBundleVersion</key>
39-
<string>1.11.5</string>
40-
<key>LSApplicationCategoryType</key>
41-
<string>public.app-category.developer-tools</string>
42-
<key>NSHumanReadableCopyright</key>
43-
<string>Copyright © 2023-2024 Lessica &amp; Lakr Aream. All Rights Reserved.</string>
44-
<key>NSPrincipalClass</key>
45-
<string>HUDMainApplication</string>
46-
<key>UIApplicationShortcutItems</key>
47-
<array>
48-
<dict>
49-
<key>UIApplicationShortcutItemIconSymbolName</key>
50-
<string>wand.and.stars</string>
51-
<key>UIApplicationShortcutItemTitle</key>
52-
<string>Toggle HUD</string>
53-
<key>UIApplicationShortcutItemType</key>
54-
<string>ch.xxtou.shortcut.toggle-hud</string>
55-
</dict>
56-
</array>
57-
<key>UIApplicationShowsViewsWhileLocked</key>
58-
<false/>
59-
<key>UIApplicationSystemWindowsSecureKey</key>
60-
<true/>
61-
<key>UIBackgroundStyle</key>
62-
<string>UIBackgroundStyleDarkBlur</string>
63-
<key>UILaunchStoryboardName</key>
64-
<string>LaunchScreen</string>
65-
<key>UIRequiresFullScreen</key>
66-
<true/>
67-
<key>UIStatusBarStyle</key>
68-
<string>UIStatusBarStyleLightContent</string>
69-
<key>UISupportedInterfaceOrientations</key>
70-
<array>
71-
<string>UIInterfaceOrientationPortrait</string>
72-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
73-
<string>UIInterfaceOrientationLandscapeLeft</string>
74-
<string>UIInterfaceOrientationLandscapeRight</string>
75-
</array>
76-
<key>UIViewControllerBasedStatusBarAppearance</key>
77-
<false/>
8+
<string>1.11.6</string>
789
</dict>
7910
</plist>

layout/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: ch.xxtou.hudapp
22
Name: HUD App
3-
Version: 1.11.5
3+
Version: 1.11.6
44
Section: Tweaks
55
Depends: firmware (>= 14.0), mobilesubstrate (>= 0.9.7000)
66
Architecture: iphoneos-arm

supports/Sandbox-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundlePackageType</key>
2222
<string>APPL</string>
2323
<key>CFBundleShortVersionString</key>
24-
<string>1.11.5</string>
24+
<string>1.11.6</string>
2525
<key>CFBundleSignature</key>
2626
<string>????</string>
2727
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>1.11.5</string>
39+
<string>1.11.6</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.developer-tools</string>
4242
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)