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

Commit 6fd9d1f

Browse files
committed
bump version
Signed-off-by: 82Flex <82flex@gmail.com>
1 parent 080a9b5 commit 6fd9d1f

File tree

6 files changed

+24
-13
lines changed

6 files changed

+24
-13
lines changed

Resources/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.11</string>
24+
<string>1.12.0</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>c4b10404</string>
39+
<string>8584a224</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.developer-tools</string>
4242
<key>NSHumanReadableCopyright</key>

TrollSpeed.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@
613613
"$(inherited)",
614614
"$(PROJECT_DIR)/libraries",
615615
);
616-
MARKETING_VERSION = 1.11.11;
616+
MARKETING_VERSION = 1.12.0;
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.11;
659+
MARKETING_VERSION = 1.12.0;
660660
PRODUCT_BUNDLE_IDENTIFIER = "ch.xxtou.hudapp-sandbox";
661661
PRODUCT_NAME = "$(TARGET_NAME)";
662662
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -726,7 +726,7 @@
726726
GCC_WARN_UNUSED_VARIABLE = YES;
727727
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
728728
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
729-
MARKETING_VERSION = 1.11.11;
729+
MARKETING_VERSION = 1.12.0;
730730
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
731731
MTL_FAST_MATH = YES;
732732
ONLY_ACTIVE_ARCH = YES;
@@ -786,7 +786,7 @@
786786
GCC_WARN_UNUSED_VARIABLE = YES;
787787
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
788788
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
789-
MARKETING_VERSION = 1.11.11;
789+
MARKETING_VERSION = 1.12.0;
790790
MTL_ENABLE_DEBUG_INFO = NO;
791791
MTL_FAST_MATH = YES;
792792
PRODUCT_MODULE_NAME = TrollSpeed;
@@ -827,7 +827,7 @@
827827
"$(inherited)",
828828
"$(PROJECT_DIR)/libraries",
829829
);
830-
MARKETING_VERSION = 1.11.11;
830+
MARKETING_VERSION = 1.12.0;
831831
PRODUCT_BUNDLE_IDENTIFIER = ch.xxtou.hudapp;
832832
PRODUCT_NAME = "$(TARGET_NAME)";
833833
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -871,7 +871,7 @@
871871
"$(inherited)",
872872
"$(PROJECT_DIR)/libraries",
873873
);
874-
MARKETING_VERSION = 1.11.11;
874+
MARKETING_VERSION = 1.12.0;
875875
PRODUCT_BUNDLE_IDENTIFIER = ch.xxtou.hudapp;
876876
PRODUCT_NAME = "$(TARGET_NAME)";
877877
PROVISIONING_PROFILE_SPECIFIER = "";

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.jb
22
Name: TrollSpeed JB
3-
Version: 1.11.11
3+
Version: 1.12.0
44
Section: Tweaks
55
Depends: firmware (>= 14.0)
66
Architecture: iphoneos-arm

layout/Library/LaunchDaemons/ch.xxtou.hudservices.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<false/>
99
<key>EnvironmentVariables</key>
1010
<dict>
11-
<key>_MSSafeMode</key>
11+
<key>DISABLE_TWEAKS</key>
1212
<string>1</string>
1313
</dict>
1414
<key>GroupName</key>

sources/HUDApp.mm

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#import <notify.h>
99
#import <mach-o/dyld.h>
10+
#import <sys/utsname.h>
1011
#import <objc/runtime.h>
1112

1213
#if !NO_TROLL
@@ -19,6 +20,13 @@
1920

2021
#define PID_PATH "/var/mobile/Library/Caches/ch.xxtou.hudapp.pid"
2122

23+
static __used
24+
NSString *mDeviceModel(void) {
25+
struct utsname systemInfo;
26+
uname(&systemInfo);
27+
return [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
28+
}
29+
2230
static __used
2331
void _HUDEventCallback(void *target, void *refcon, IOHIDServiceRef service, IOHIDEventRef event)
2432
{
@@ -36,7 +44,10 @@ void _HUDEventCallback(void *target, void *refcon, IOHIDServiceRef service, IOHI
3644
BOOL isExactly15 = NO;
3745
static NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion];
3846
if (version.majorVersion == 15 && version.minorVersion == 0 && version.patchVersion == 0) {
39-
isExactly15 = YES;
47+
NSString *deviceModel = mDeviceModel();
48+
if (![deviceModel hasPrefix:@"iPhone13,"] && ![deviceModel hasPrefix:@"iPhone14,"]) { // iPhone 12 & 13 Series
49+
isExactly15 = YES;
50+
}
4051
}
4152

4253
if (@available(iOS 15.0, *)) {

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.11</string>
24+
<string>1.12.0</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>c4b10404</string>
39+
<string>8584a224</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.developer-tools</string>
4242
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)