From fa948c0646e75c70078400650dd7605bd8b21e5d Mon Sep 17 00:00:00 2001
From: Dhinak G <17605561+dhinakg@users.noreply.github.com>
Date: Sat, 30 Dec 2023 13:38:09 -0500
Subject: [PATCH] Fix last
---
RootHelper/entitlements.plist | 4 ++--
TrollStore/TSAppInfo.m | 1 +
TrollStore/TSInstallationController.m | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/RootHelper/entitlements.plist b/RootHelper/entitlements.plist
index 3319af0..2a0d842 100644
--- a/RootHelper/entitlements.plist
+++ b/RootHelper/entitlements.plist
@@ -46,7 +46,7 @@
com.apple.private.amfi.developer-mode-control
- com.apple.frontboard.shutdown
-
+ com.apple.frontboard.shutdown
+
diff --git a/TrollStore/TSAppInfo.m b/TrollStore/TSAppInfo.m
index 5e8017c..952be1a 100644
--- a/TrollStore/TSAppInfo.m
+++ b/TrollStore/TSAppInfo.m
@@ -1068,6 +1068,7 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size);
[description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nBundle Identifier: %@", bundleId] attributes:bodyAttributes]];
[description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nVersion: %@", version] attributes:bodyAttributes]];
[description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nSize: %@", sizeString] attributes:bodyAttributes]];
+
[description appendAttributedString:[[NSAttributedString alloc] initWithString:@"\n\nSandboxing" attributes:headerAttributes]];
if(isUnsandboxed)
{
diff --git a/TrollStore/TSInstallationController.m b/TrollStore/TSInstallationController.m
index fef966b..5c4d2eb 100644
--- a/TrollStore/TSInstallationController.m
+++ b/TrollStore/TSInstallationController.m
@@ -51,7 +51,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
[errorAlert addAction:forceInstallAction];
[TSPresentationDelegate presentViewController:errorAlert animated:YES completion:nil];
- } else if (ret == 180) {
+ } else if (ret == 182) {
// non-fatal informative message
UIAlertController* rebootNotification = [UIAlertController alertControllerWithTitle:@"Reboot Required" message:[error localizedDescription] preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* closeAction = [UIAlertAction actionWithTitle:@"Close" style:UIAlertActionStyleDefault handler:^(UIAlertAction* action)