From 31e61d403966c939eb498a9b545dd2b4fcb12d48 Mon Sep 17 00:00:00 2001 From: straight-tamago Date: Sun, 17 Dec 2023 19:36:30 +0900 Subject: [PATCH 1/2] Fixed possible bootloop issues --- Cowabunga/Views/NavigatorViews/OtherModsView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Cowabunga/Views/NavigatorViews/OtherModsView.swift b/Cowabunga/Views/NavigatorViews/OtherModsView.swift index 592309d9..92acc048 100644 --- a/Cowabunga/Views/NavigatorViews/OtherModsView.swift +++ b/Cowabunga/Views/NavigatorViews/OtherModsView.swift @@ -170,6 +170,7 @@ struct OtherModsView: View { UserDefaults.standard.set(new, forKey: "IsSupervised") // set the value do { + try togglePlistOption(plistPath: "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/CloudConfigurationDetails.plist", key: "CloudConfigurationUIComplete", value: new) try togglePlistOption(plistPath: "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/CloudConfigurationDetails.plist", key: "IsSupervised", value: new) } catch { print("Failed") From 7d16848b6cddb7ebcf7fd18e8f942e2bb9077f84 Mon Sep 17 00:00:00 2001 From: straight-tamago <121408851+straight-tamago@users.noreply.github.com> Date: Sun, 17 Dec 2023 21:35:35 +0900 Subject: [PATCH 2/2] Update OtherModsView.swift --- Cowabunga/Views/NavigatorViews/OtherModsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cowabunga/Views/NavigatorViews/OtherModsView.swift b/Cowabunga/Views/NavigatorViews/OtherModsView.swift index 92acc048..fa1c6a69 100644 --- a/Cowabunga/Views/NavigatorViews/OtherModsView.swift +++ b/Cowabunga/Views/NavigatorViews/OtherModsView.swift @@ -170,7 +170,7 @@ struct OtherModsView: View { UserDefaults.standard.set(new, forKey: "IsSupervised") // set the value do { - try togglePlistOption(plistPath: "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/CloudConfigurationDetails.plist", key: "CloudConfigurationUIComplete", value: new) + try togglePlistOption(plistPath: "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/CloudConfigurationDetails.plist", key: "CloudConfigurationUIComplete", value: true) try togglePlistOption(plistPath: "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/CloudConfigurationDetails.plist", key: "IsSupervised", value: new) } catch { print("Failed")