Skip to content

Commit

Permalink
merge 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
roothider committed Oct 23, 2024
1 parent 3e9ac00 commit b06f648
Show file tree
Hide file tree
Showing 108 changed files with 4,132 additions and 3,526 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml → .github/workflows/roothide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "*** build tipa file ***"

on:
schedule:
- cron: '0 0 * * *'
- cron: '0 */2 * * *' # every 2 hours
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
typeset itemcount=$(plutil -extract items raw -expect array ./Application/Dopamine/UI/Settings/Credits.plist)
for ((i=0; i<$itemcount; i++)); do if [ "$(plutil -extract items.$i.headerCellClass raw ./Application/Dopamine/UI/Settings/Credits.plist)" = "DOCreditsCell" ]; then DOCreditsCellIndex=$i; fi done;
plutil -insert items.$DOCreditsCellIndex.names -xml "<dict><key>name</key><string>${{ github.actor }}</string><key>link</key><string>https://github.com/${{ github.repository }}</string></dict>" -append ./Application/Dopamine/UI/Settings/Credits.plist
gmake -j$(sysctl -n hw.physicalcpu) NIGHTLY=1
gmake -j$(sysctl -n hw.physicalcpu)
TAG=$(git describe --tags --abbrev=0)
mv ./Application/Dopamine.tipa "./Application/roothide-Dopamine2-v${TAG}.tipa"
echo "tag=${TAG}" >> $GITHUB_ENV
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ Application/Payload
Tools/fastPathSign/.build_*
Exploits/kfd/kfd.framework/kfd
cmake-build-*
.vscode
jbupdate.sh
BaseBin/jbupdate.sh
53 changes: 31 additions & 22 deletions Application/Dopamine.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@
8C5FA9712BDD81EF008C246F /* LICENSE_weightBufs.md in Resources */ = {isa = PBXBuildFile; fileRef = 8C5FA9702BDD81EF008C246F /* LICENSE_weightBufs.md */; };
8C609C9E2C19B4270023DD12 /* NSString+Version.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C609C9C2C19AECF0023DD12 /* NSString+Version.m */; };
8C609C9F2C19B6FA0023DD12 /* libkrw-dopamine.deb in Resources */ = {isa = PBXBuildFile; fileRef = 8C609C992C19AC250023DD12 /* libkrw-dopamine.deb */; };
8C6599DB2C555A60000FF57F /* DOPSJetsamListItemsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C6599DA2C555A60000FF57F /* DOPSJetsamListItemsController.m */; };
8C6599DD2C555A71000FF57F /* DOPSJetsamListItemsController.h in Sources */ = {isa = PBXBuildFile; fileRef = 8C6599DC2C555A71000FF57F /* DOPSJetsamListItemsController.h */; };
8C71981A2ABF0E82003C6658 /* DOAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C7198192ABF0E82003C6658 /* DOAppDelegate.m */; };
8C71981D2ABF0E82003C6658 /* DOSceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C71981C2ABF0E82003C6658 /* DOSceneDelegate.m */; };
8C7198252ABF0E84003C6658 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8C7198242ABF0E84003C6658 /* Assets.xcassets */; };
Expand All @@ -188,6 +190,7 @@
8CC139822B53DE6C00230143 /* NSData+Hex.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CC139812B53DE6C00230143 /* NSData+Hex.m */; };
8CC139832B53E05300230143 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8CDD08372B4F682500A32B61 /* IOKit.framework */; };
8CCD2FC42B77AAA000F9C5DA /* basebin-link.deb in Resources */ = {isa = PBXBuildFile; fileRef = 8CCD2FC32B77AA9200F9C5DA /* basebin-link.deb */; };
8CCD8A882B6F16D0004B72B0 /* libroot.dylib in Resources */ = {isa = PBXBuildFile; fileRef = 8CCD8A832B6F165A004B72B0 /* libroot.dylib */; };
8CDD07AA2B4F619000A32B61 /* kfd.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CDD07A92B4F619000A32B61 /* kfd.h */; settings = {ATTRIBUTES = (Public, ); }; };
8CDD07AF2B4F619000A32B61 /* kfd.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8CDD07A72B4F619000A32B61 /* kfd.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
8CDD08342B4F63E100A32B61 /* kfd.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CDD07B32B4F639100A32B61 /* kfd.m */; };
Expand Down Expand Up @@ -509,6 +512,8 @@
8C609C992C19AC250023DD12 /* libkrw-dopamine.deb */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libkrw-dopamine.deb"; path = "../../../Packages/libkrw-provider/libkrw-dopamine.deb"; sourceTree = "<group>"; };
8C609C9C2C19AECF0023DD12 /* NSString+Version.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSString+Version.m"; sourceTree = "<group>"; };
8C609C9D2C19AEE70023DD12 /* NSString+Version.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSString+Version.h"; sourceTree = "<group>"; };
8C6599DA2C555A60000FF57F /* DOPSJetsamListItemsController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DOPSJetsamListItemsController.m; sourceTree = "<group>"; };
8C6599DC2C555A71000FF57F /* DOPSJetsamListItemsController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DOPSJetsamListItemsController.h; sourceTree = "<group>"; };
8C7198152ABF0E82003C6658 /* Dopamine.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Dopamine.app; sourceTree = BUILT_PRODUCTS_DIR; };
8C7198182ABF0E82003C6658 /* DOAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DOAppDelegate.h; sourceTree = "<group>"; };
8C7198192ABF0E82003C6658 /* DOAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DOAppDelegate.m; sourceTree = "<group>"; };
Expand All @@ -520,12 +525,12 @@
8C71982A2ABF0E84003C6658 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
8C9E46272ACA1C8D00B5456A /* UIImage+Blur.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIImage+Blur.h"; sourceTree = "<group>"; };
8C9E46282ACA1CC700B5456A /* UIImage+Blur.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIImage+Blur.m"; sourceTree = "<group>"; };
8CB94F022B59E17A0098BAFD /* basebin.tc */ = {isa = PBXFileReference; lastKnownFileType = text; name = basebin.tc; path = ../../../BaseBin/basebin.tc; sourceTree = "<group>"; };
8CB94F022B59E17A0098BAFD /* basebin.tc */ = {isa = PBXFileReference; lastKnownFileType = file; name = basebin.tc; path = ../../../BaseBin/basebin.tc; sourceTree = "<group>"; };
8CB94F032B59E17A0098BAFD /* basebin.tar */ = {isa = PBXFileReference; lastKnownFileType = archive.tar; name = basebin.tar; path = ../../../BaseBin/basebin.tar; sourceTree = "<group>"; };
8CC139802B53DE6C00230143 /* NSData+Hex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+Hex.h"; sourceTree = "<group>"; };
8CC139812B53DE6C00230143 /* NSData+Hex.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+Hex.m"; sourceTree = "<group>"; };
8CCD2FC32B77AA9200F9C5DA /* basebin-link.deb */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "basebin-link.deb"; path = "../../../Packages/basebin-link/basebin-link.deb"; sourceTree = "<group>"; };
8CCD8A832B6F165A004B72B0 /* libroot.deb */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libroot.deb; path = ../../../Packages/libroot/libroot.deb; sourceTree = "<group>"; };
8CCD8A832B6F165A004B72B0 /* libroot.dylib */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libroot.dylib; path = ../../../Packages/libroot/libroot.dylib; sourceTree = "<group>"; };
8CDD07A72B4F619000A32B61 /* kfd.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = kfd.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8CDD07A92B4F619000A32B61 /* kfd.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = kfd.h; sourceTree = "<group>"; };
8CDD07B32B4F639100A32B61 /* kfd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = kfd.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -727,6 +732,8 @@
0443A9AF2B79D9C10014C933 /* DOPSListItemsController.m */,
8C296BAA2BE049E4007C2AD1 /* DOPSExploitListItemsController.h */,
8C296BAB2BE049E4007C2AD1 /* DOPSExploitListItemsController.m */,
8C6599DC2C555A71000FF57F /* DOPSJetsamListItemsController.h */,
8C6599DA2C555A60000FF57F /* DOPSJetsamListItemsController.m */,
);
path = PSLists;
sourceTree = "<group>";
Expand Down Expand Up @@ -1095,15 +1102,15 @@
isa = PBXGroup;
children = (
8415E3B22BE40011001F31A8 /* Dopamine.roothide */,
84F267E92BB7292C00DD3323 /* roothideapp.deb */,
8C05C59E2B759F8A0097A931 /* bootstrap_1800.tar.zst */,
8C05C59D2B759F8A0097A931 /* bootstrap_1900.tar.zst */,
8CB94F032B59E17A0098BAFD /* basebin.tar */,
8CB94F022B59E17A0098BAFD /* basebin.tc */,
84F267E92BB7292C00DD3323 /* roothideapp.deb */,
8C512B8B2B5C9DE800C6F14A /* sileo.deb */,
8C512B8C2B5C9DE800C6F14A /* zebra.deb */,
8C609C992C19AC250023DD12 /* libkrw-dopamine.deb */,
8CCD8A832B6F165A004B72B0 /* libroot.deb */,
8CCD8A832B6F165A004B72B0 /* libroot.dylib */,
8CCD2FC32B77AA9200F9C5DA /* basebin-link.deb */,
04DD0B362B7BA6180055DE4F /* LICENSE.md */,
04DD0B392B7BF3E80055DE4F /* LICENSE_libc.md */,
Expand Down Expand Up @@ -1480,6 +1487,8 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8415E3B32BE40011001F31A8 /* Dopamine.roothide in Resources */,
84F267EA2BB7292C00DD3323 /* roothideapp.deb in Resources */,
8C609C9F2C19B6FA0023DD12 /* libkrw-dopamine.deb in Resources */,
04DD0B372B7BA6180055DE4F /* LICENSE.md in Resources */,
04DD0B3A2B7BF3E80055DE4F /* LICENSE_libc.md in Resources */,
Expand All @@ -1497,12 +1506,11 @@
8CCD2FC42B77AAA000F9C5DA /* basebin-link.deb in Resources */,
8C05C5A02B75A17A0097A931 /* bootstrap_1900.tar.zst in Resources */,
8C05C59F2B75A1770097A931 /* bootstrap_1800.tar.zst in Resources */,
8415E3B32BE40011001F31A8 /* Dopamine.roothide in Resources */,
042479A42B66916B0082581B /* Credits.plist in Resources */,
84F267EA2BB7292C00DD3323 /* roothideapp.deb in Resources */,
8C2875212BD850B4008B24DA /* LICENSE_libgrabkernel2.md in Resources */,
8C512B912B5C9F9100C6F14A /* sileo.deb in Resources */,
8C512B922B5C9F9400C6F14A /* zebra.deb in Resources */,
8CCD8A882B6F16D0004B72B0 /* libroot.dylib in Resources */,
8C296BAE2BE05914007C2AD1 /* LICENSE_plooshinit.md in Resources */,
8C5FA9712BDD81EF008C246F /* LICENSE_weightBufs.md in Resources */,
8CB94F052B59E17A0098BAFD /* basebin.tar in Resources */,
Expand Down Expand Up @@ -1666,10 +1674,12 @@
files = (
8C609C9E2C19B4270023DD12 /* NSString+Version.m in Sources */,
042479A62B66916B0082581B /* DOHeaderCell.m in Sources */,
8C6599DD2C555A71000FF57F /* DOPSJetsamListItemsController.h in Sources */,
042479A22B66916B0082581B /* DOCreditsViewController.m in Sources */,
042479B32B66916B0082581B /* DODebugLogView.m in Sources */,
042479AF2B66916B0082581B /* DONavigationController.m in Sources */,
04C246AE2B74ACA200E17924 /* DOAppSwitch.m in Sources */,
8C6599DB2C555A60000FF57F /* DOPSJetsamListItemsController.m in Sources */,
042479B22B66916B0082581B /* DOLyricsLogView.m in Sources */,
042479A52B66916B0082581B /* DOCreditsCell.m in Sources */,
8C296BAC2BE049E4007C2AD1 /* DOPSExploitListItemsController.m in Sources */,
Expand Down Expand Up @@ -1800,11 +1810,11 @@
8C05B00C2B63152C001A7CF3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1825,7 +1835,6 @@
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.opa334.badRecovery;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -1841,7 +1850,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1876,7 +1885,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1910,7 +1919,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1944,7 +1953,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1980,7 +1989,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -2016,7 +2025,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -2052,7 +2061,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -2220,7 +2229,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
Expand All @@ -2242,7 +2251,7 @@
"$(PROJECT_DIR)/Dopamine/Dependencies",
"$(PROJECT_DIR)/Dopamine/Resources",
);
MARKETING_VERSION = 2.1.7;
MARKETING_VERSION = 2.2.2;
PRODUCT_BUNDLE_IDENTIFIER = "com.opa334.Dopamine-roothide";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -2258,7 +2267,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
Expand All @@ -2280,7 +2289,7 @@
"$(PROJECT_DIR)/Dopamine/Dependencies",
"$(PROJECT_DIR)/Dopamine/Resources",
);
MARKETING_VERSION = 2.1.7;
MARKETING_VERSION = 2.2.2;
PRODUCT_BUNDLE_IDENTIFIER = "com.opa334.Dopamine-roothide";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -2294,7 +2303,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -2329,7 +2338,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 333YQBLA8H;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down
3 changes: 3 additions & 0 deletions Application/Dopamine/Extensions/NSString+Version.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ - (NSInteger)numericalVersionRepresentation
NSInteger numericalRepresentation = 0;

NSArray *components = [self componentsSeparatedByCharactersInSet:[[NSCharacterSet decimalDigitCharacterSet] invertedSet]];

components = [components filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"SELF != ''"]];
assert(components.count <= 3);

while (components.count < 3)
components = [components arrayByAddingObject:@"0"];

Expand Down
Loading

0 comments on commit b06f648

Please sign in to comment.