diff --git a/README.md b/README.md index 1acd8ef..a8fc42d 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ TrollSpeed is [Free Software](https://www.gnu.org/philosophy/free-sw.html) licen ### Localization -To add a language, create a new `.lproj` folder in `layout/Applications/TrollSpeed.app`. +To add a language, create a new `.lproj` folder in `Resources`. - en/zh-Hans [@Lessica](https://github.com/Lessica) - es [@Deci8BelioS](https://github.com/Deci8BelioS) diff --git a/Resources/Info.plist b/Resources/Info.plist new file mode 100644 index 0000000..fa95a6f --- /dev/null +++ b/Resources/Info.plist @@ -0,0 +1,79 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + TrollSpeed + CFBundleExecutable + TrollSpeed + CFBundleIconFile + icon.png + CFBundleIconName + AppIcon + CFBundleIdentifier + ch.xxtou.hudapp + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + TrollSpeed + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.11.6 + CFBundleSignature + ???? + CFBundleURLTypes + + + CFBundleURLName + ch.xxtou.hudapp + CFBundleURLSchemes + + trollspeed + + + + CFBundleVersion + 1.11.6 + LSApplicationCategoryType + public.app-category.developer-tools + NSHumanReadableCopyright + Copyright © 2023-2024 Lessica & Lakr Aream. All Rights Reserved. + NSPrincipalClass + HUDMainApplication + UIApplicationShortcutItems + + + UIApplicationShortcutItemIconSymbolName + wand.and.stars + UIApplicationShortcutItemTitle + Toggle HUD + UIApplicationShortcutItemType + ch.xxtou.shortcut.toggle-hud + + + UIApplicationShowsViewsWhileLocked + + UIApplicationSystemWindowsSecureKey + + UIBackgroundStyle + UIBackgroundStyleDarkBlur + UILaunchStoryboardName + LaunchScreen + UIRequiresFullScreen + + UIStatusBarStyle + UIStatusBarStyleLightContent + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/layout/Applications/TrollSpeed.app/Settings.bundle/Root.plist b/Resources/Settings.bundle/Root.plist similarity index 100% rename from layout/Applications/TrollSpeed.app/Settings.bundle/Root.plist rename to Resources/Settings.bundle/Root.plist diff --git a/layout/Applications/TrollSpeed.app/Settings.bundle/en.lproj/Root.strings b/Resources/Settings.bundle/en.lproj/Root.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/Settings.bundle/en.lproj/Root.strings rename to Resources/Settings.bundle/en.lproj/Root.strings diff --git a/layout/Applications/TrollSpeed.app/Settings.bundle/es.lproj/Root.strings b/Resources/Settings.bundle/es.lproj/Root.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/Settings.bundle/es.lproj/Root.strings rename to Resources/Settings.bundle/es.lproj/Root.strings diff --git a/layout/Applications/TrollSpeed.app/Settings.bundle/zh_Hans.lproj/Root.strings b/Resources/Settings.bundle/zh_Hans.lproj/Root.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/Settings.bundle/zh_Hans.lproj/Root.strings rename to Resources/Settings.bundle/zh_Hans.lproj/Root.strings diff --git a/layout/Applications/TrollSpeed.app/en.lproj/InfoPlist.strings b/Resources/en.lproj/InfoPlist.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/en.lproj/InfoPlist.strings rename to Resources/en.lproj/InfoPlist.strings diff --git a/layout/Applications/TrollSpeed.app/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/en.lproj/Localizable.strings rename to Resources/en.lproj/Localizable.strings diff --git a/layout/Applications/TrollSpeed.app/es.lproj/InfoPlist.strings b/Resources/es.lproj/InfoPlist.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/es.lproj/InfoPlist.strings rename to Resources/es.lproj/InfoPlist.strings diff --git a/layout/Applications/TrollSpeed.app/es.lproj/Localizable.strings b/Resources/es.lproj/Localizable.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/es.lproj/Localizable.strings rename to Resources/es.lproj/Localizable.strings diff --git a/layout/Applications/TrollSpeed.app/github-mark-white.png b/Resources/github-mark-white.png similarity index 100% rename from layout/Applications/TrollSpeed.app/github-mark-white.png rename to Resources/github-mark-white.png diff --git a/layout/Applications/TrollSpeed.app/icon.png b/Resources/icon.png similarity index 100% rename from layout/Applications/TrollSpeed.app/icon.png rename to Resources/icon.png diff --git a/layout/Applications/TrollSpeed.app/zh-Hans.lproj/InfoPlist.strings b/Resources/zh-Hans.lproj/InfoPlist.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/zh-Hans.lproj/InfoPlist.strings rename to Resources/zh-Hans.lproj/InfoPlist.strings diff --git a/layout/Applications/TrollSpeed.app/zh-Hans.lproj/Localizable.strings b/Resources/zh-Hans.lproj/Localizable.strings similarity index 100% rename from layout/Applications/TrollSpeed.app/zh-Hans.lproj/Localizable.strings rename to Resources/zh-Hans.lproj/Localizable.strings diff --git a/TrollSpeed.xcodeproj/project.pbxproj b/TrollSpeed.xcodeproj/project.pbxproj index 7ce5ada..f8c4cfc 100644 --- a/TrollSpeed.xcodeproj/project.pbxproj +++ b/TrollSpeed.xcodeproj/project.pbxproj @@ -83,9 +83,9 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 0F43B7702B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../layout/Applications/TrollSpeed.app/es.lproj/Localizable.strings; sourceTree = ""; }; - 0F43B7712B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../layout/Applications/TrollSpeed.app/es.lproj/InfoPlist.strings; sourceTree = ""; }; - CC2A772F2B6AADB400796650 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = layout/Applications/TrollSpeed.app/Settings.bundle; sourceTree = SOURCE_ROOT; }; + 0F43B7702B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../Resources/es.lproj/Localizable.strings; sourceTree = ""; }; + 0F43B7712B60D397003A435D /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = ../Resources/es.lproj/InfoPlist.strings; sourceTree = ""; }; + CC2A772F2B6AADB400796650 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = Resources/Settings.bundle; sourceTree = SOURCE_ROOT; }; CC2BAFE22B5CA9DD00A429D1 /* TrollSpeed-Sandbox.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TrollSpeed-Sandbox.app"; sourceTree = BUILT_PRODUCTS_DIR; }; CC2BAFE42B5CAF2200A429D1 /* Sandbox-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Sandbox-Info.plist"; sourceTree = ""; }; CC711D012B5BF550007235A6 /* TrollSpeed.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TrollSpeed.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -157,12 +157,12 @@ CC711D7D2B5BF6B7007235A6 /* UIEventDispatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIEventDispatcher.h; sourceTree = ""; }; CC711D7E2B5BF772007235A6 /* hudapp-prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "hudapp-prefix.pch"; sourceTree = ""; }; CC711D7F2B5BF772007235A6 /* entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = entitlements.plist; sourceTree = ""; }; - CC711D812B5BFA64007235A6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; name = Info.plist; path = layout/Applications/TrollSpeed.app/Info.plist; sourceTree = SOURCE_ROOT; }; - CC711D862B5BFCC4007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = layout/Applications/TrollSpeed.app/en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; }; - 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; }; - CC711D8D2B5BFD50007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = layout/Applications/TrollSpeed.app/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; - 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; }; - CC711D922B5BFE66007235A6 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = layout/Applications/TrollSpeed.app/icon.png; sourceTree = SOURCE_ROOT; }; + CC711D812B5BFA64007235A6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; name = Info.plist; path = Resources/Info.plist; sourceTree = SOURCE_ROOT; }; + CC711D862B5BFCC4007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Resources/en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; }; + CC711D892B5BFCE0007235A6 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "Resources/zh-Hans.lproj/Localizable.strings"; sourceTree = SOURCE_ROOT; }; + CC711D8D2B5BFD50007235A6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Resources/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; + CC711D8F2B5BFD51007235A6 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "Resources/zh-Hans.lproj/InfoPlist.strings"; sourceTree = SOURCE_ROOT; }; + CC711D922B5BFE66007235A6 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = Resources/icon.png; sourceTree = SOURCE_ROOT; }; CC711D952B5BFF2F007235A6 /* GraphicsServices.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = GraphicsServices.tbd; sourceTree = ""; }; CC711D962B5BFF2F007235A6 /* SpringBoardServices.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = SpringBoardServices.tbd; sourceTree = ""; }; CC711D972B5BFF2F007235A6 /* BackBoardServices.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = BackBoardServices.tbd; sourceTree = ""; }; @@ -613,7 +613,7 @@ "$(inherited)", "$(PROJECT_DIR)/libraries", ); - MARKETING_VERSION = 1.11.5; + MARKETING_VERSION = 1.11.6; PRODUCT_BUNDLE_IDENTIFIER = "ch.xxtou.hudapp-sandbox"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -656,7 +656,7 @@ "$(inherited)", "$(PROJECT_DIR)/libraries", ); - MARKETING_VERSION = 1.11.5; + MARKETING_VERSION = 1.11.6; PRODUCT_BUNDLE_IDENTIFIER = "ch.xxtou.hudapp-sandbox"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -813,7 +813,7 @@ "$(inherited)", "THEOS_PACKAGE_INSTALL_PREFIX=\\\"\\\"", ); - INFOPLIST_FILE = layout/Applications/TrollSpeed.app/Info.plist; + INFOPLIST_FILE = Resources/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = TrollSpeed; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -827,7 +827,7 @@ "$(inherited)", "$(PROJECT_DIR)/libraries", ); - MARKETING_VERSION = 1.11.5; + MARKETING_VERSION = 1.11.6; PRODUCT_BUNDLE_IDENTIFIER = ch.xxtou.hudapp; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -857,7 +857,7 @@ "$(inherited)", "THEOS_PACKAGE_INSTALL_PREFIX=\\\"\\\"", ); - INFOPLIST_FILE = layout/Applications/TrollSpeed.app/Info.plist; + INFOPLIST_FILE = Resources/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = TrollSpeed; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -871,7 +871,7 @@ "$(inherited)", "$(PROJECT_DIR)/libraries", ); - MARKETING_VERSION = 1.11.5; + MARKETING_VERSION = 1.11.6; PRODUCT_BUNDLE_IDENTIFIER = ch.xxtou.hudapp; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/gen-control.sh b/gen-control.sh index d6cfd30..64bef1e 100755 --- a/gen-control.sh +++ b/gen-control.sh @@ -31,9 +31,9 @@ __EOF__ chmod 0644 layout/DEBIAN/control # Write the Info.plist file -defaults write $(pwd)/layout/Applications/TrollSpeed.app/Info.plist CFBundleVersion $VERSION -defaults write $(pwd)/layout/Applications/TrollSpeed.app/Info.plist CFBundleShortVersionString $VERSION -plutil -convert xml1 $(pwd)/layout/Applications/TrollSpeed.app/Info.plist +defaults write $(pwd)/Resources/Info.plist CFBundleVersion $VERSION +defaults write $(pwd)/Resources/Info.plist CFBundleShortVersionString $VERSION +plutil -convert xml1 $(pwd)/Resources/Info.plist defaults write $(pwd)/supports/Sandbox-Info.plist CFBundleVersion $VERSION defaults write $(pwd)/supports/Sandbox-Info.plist CFBundleShortVersionString $VERSION plutil -convert xml1 $(pwd)/supports/Sandbox-Info.plist diff --git a/layout/Applications/TrollSpeed.app/Info.plist b/layout/Applications/TrollSpeed.app/Info.plist index b3df07c..a572a65 100644 --- a/layout/Applications/TrollSpeed.app/Info.plist +++ b/layout/Applications/TrollSpeed.app/Info.plist @@ -2,78 +2,9 @@ - CFBundleDevelopmentRegion - English - CFBundleDisplayName - TrollSpeed - CFBundleExecutable - TrollSpeed - CFBundleIconFile - icon.png - CFBundleIconName - AppIcon - CFBundleIdentifier - ch.xxtou.hudapp - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - TrollSpeed - CFBundlePackageType - APPL CFBundleShortVersionString - 1.11.5 - CFBundleSignature - ???? - CFBundleURLTypes - - - CFBundleURLName - ch.xxtou.hudapp - CFBundleURLSchemes - - trollspeed - - - + 1.11.6 CFBundleVersion - 1.11.5 - LSApplicationCategoryType - public.app-category.developer-tools - NSHumanReadableCopyright - Copyright © 2023-2024 Lessica & Lakr Aream. All Rights Reserved. - NSPrincipalClass - HUDMainApplication - UIApplicationShortcutItems - - - UIApplicationShortcutItemIconSymbolName - wand.and.stars - UIApplicationShortcutItemTitle - Toggle HUD - UIApplicationShortcutItemType - ch.xxtou.shortcut.toggle-hud - - - UIApplicationShowsViewsWhileLocked - - UIApplicationSystemWindowsSecureKey - - UIBackgroundStyle - UIBackgroundStyleDarkBlur - UILaunchStoryboardName - LaunchScreen - UIRequiresFullScreen - - UIStatusBarStyle - UIStatusBarStyleLightContent - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - + 1.11.6 diff --git a/layout/DEBIAN/control b/layout/DEBIAN/control index 5ecd68a..4247ade 100644 --- a/layout/DEBIAN/control +++ b/layout/DEBIAN/control @@ -1,6 +1,6 @@ Package: ch.xxtou.hudapp Name: HUD App -Version: 1.11.5 +Version: 1.11.6 Section: Tweaks Depends: firmware (>= 14.0), mobilesubstrate (>= 0.9.7000) Architecture: iphoneos-arm diff --git a/supports/Sandbox-Info.plist b/supports/Sandbox-Info.plist index d617c42..6419a06 100644 --- a/supports/Sandbox-Info.plist +++ b/supports/Sandbox-Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.11.5 + 1.11.6 CFBundleSignature ???? CFBundleURLTypes @@ -36,7 +36,7 @@ CFBundleVersion - 1.11.5 + 1.11.6 LSApplicationCategoryType public.app-category.developer-tools NSHumanReadableCopyright