From 705a34ef710758fe961daeb819b9d62aae17d131 Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Sat, 20 Jan 2024 00:11:44 +0800 Subject: [PATCH] Update bundle name --- Makefile | 18 +++++++++--------- Serotonin.xcodeproj/project.pbxproj | 24 +++++++++++------------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 65d6511..7a52fe1 100644 --- a/Makefile +++ b/Makefile @@ -49,15 +49,15 @@ Serotonin.tipa: $(wildcard **/*.c **/*.m **/*.swift **/*.plist **/*.xml) rm -rf Payload rm -rf Serotonin.tipa mkdir Payload - cp -a build/Build/Products/Release-iphoneos/usprebooter.app Payload - rm -rf Payload/usprebooter.app/Frameworks - cp RootHelperSample/.theos/obj/debug/arm64/trolltoolsroothelper Payload/usprebooter.app/trolltoolsroothelper - install -m755 RootHelperSample/launchdshim/launchdhook/launchdhooksigned.dylib Payload/usprebooter.app/launchdhooksigned.dylib - install -m755 RootHelperSample/launchdshim/SpringBoardShim/SpringBoardHook/springboardhooksigned.dylib Payload/usprebooter.app/springboardhooksigned.dylib - install -m755 RootHelperSample/launchdshim/hideConfidentialText/.theos/obj/debug/hideConfidentialText.dylib Payload/usprebooter.app/hideconfidentialtext.dylib - cp RootHelperSample/launchdshim/hideConfidentialText/hideconfidentialtext.plist Payload/usprebooter.app/hideconfidentialtext.plist - $(LDID) -S./RootHelperSample/entitlements.plist -Cadhoc Payload/usprebooter.app/{fastPathSign,ldid,trolltoolsroothelper} - $(LDID) -Sent.plist -Cadhoc Payload/usprebooter.app/usprebooter + cp -a build/Build/Products/Release-iphoneos/Serotonin.app Payload + rm -rf Payload/Serotonin.app/Frameworks + cp RootHelperSample/.theos/obj/debug/arm64/trolltoolsroothelper Payload/Serotonin.app/trolltoolsroothelper + install -m755 RootHelperSample/launchdshim/launchdhook/launchdhooksigned.dylib Payload/Serotonin.app/launchdhooksigned.dylib + install -m755 RootHelperSample/launchdshim/SpringBoardShim/SpringBoardHook/springboardhooksigned.dylib Payload/Serotonin.app/springboardhooksigned.dylib + install -m755 RootHelperSample/launchdshim/hideConfidentialText/.theos/obj/debug/hideConfidentialText.dylib Payload/Serotonin.app/hideconfidentialtext.dylib + cp RootHelperSample/launchdshim/hideConfidentialText/hideconfidentialtext.plist Payload/Serotonin.app/hideconfidentialtext.plist + $(LDID) -S./RootHelperSample/entitlements.plist -Cadhoc Payload/Serotonin.app/{fastPathSign,ldid,trolltoolsroothelper} + $(LDID) -Sent.plist -Cadhoc Payload/Serotonin.app/Serotonin zip -vr9 Serotonin.tipa Payload/ -x "*.DS_Store" apple-include: diff --git a/Serotonin.xcodeproj/project.pbxproj b/Serotonin.xcodeproj/project.pbxproj index 0055292..5e953a5 100644 --- a/Serotonin.xcodeproj/project.pbxproj +++ b/Serotonin.xcodeproj/project.pbxproj @@ -64,7 +64,7 @@ 9756F48F2B505F1900172EF9 /* cs_blobs.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = cs_blobs.m; sourceTree = ""; }; C805CA442B1719C1005157BA /* util.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = util.m; sourceTree = ""; }; C805CA462B1719D5005157BA /* util.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = util.h; sourceTree = ""; }; - C811229A2B15E7BB00AD077B /* usprebooter.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = usprebooter.app; sourceTree = BUILT_PRODUCTS_DIR; }; + C811229A2B15E7BB00AD077B /* Serotonin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Serotonin.app; sourceTree = BUILT_PRODUCTS_DIR; }; C81122AB2B15E7BD00AD077B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; C81122CF2B15EA8600AD077B /* usprebooter-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "usprebooter-Bridging-Header.h"; sourceTree = ""; }; C81122DD2B16C9CB00AD077B /* troller.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = troller.h; sourceTree = ""; }; @@ -208,7 +208,7 @@ C811229B2B15E7BB00AD077B /* Products */ = { isa = PBXGroup; children = ( - C811229A2B15E7BB00AD077B /* usprebooter.app */, + C811229A2B15E7BB00AD077B /* Serotonin.app */, ); name = Products; sourceTree = ""; @@ -529,7 +529,7 @@ 33C3E8B12B5A79FD0043575A /* Markdown */, ); productName = usprebooter; - productReference = C811229A2B15E7BB00AD077B /* usprebooter.app */; + productReference = C811229A2B15E7BB00AD077B /* Serotonin.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -685,7 +685,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; @@ -742,7 +742,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; @@ -768,8 +768,7 @@ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; - INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -783,9 +782,9 @@ "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps", "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps/curl-static", ); - MARKETING_VERSION = 1.2.1; + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = pisshill.usprebooter; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = Serotonin; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_OBJC_BRIDGING_HEADER = "usprebooter/usprebooter-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -810,8 +809,7 @@ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; - INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -825,9 +823,9 @@ "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps", "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps/curl-static", ); - MARKETING_VERSION = 1.2.1; + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = pisshill.usprebooter; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = Serotonin; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_OBJC_BRIDGING_HEADER = "usprebooter/usprebooter-Bridging-Header.h"; SWIFT_VERSION = 5.0;