From 0da46b1d1ef7d663515ec22c555edb59f9eecab4 Mon Sep 17 00:00:00 2001 From: EfazDev Date: Mon, 28 Oct 2024 19:42:50 -0500 Subject: [PATCH 1/7] fix fork!! --- .github/workflows/build.yml | 4 +- compile.py | 1 + devicemanagement/device_manager.py | 5 + gui/main_window.py | 24 +- mainwindow_ui.py | 391 ++++++++++++++++++----------- qt/mainwindow.ui | 145 +++++++++-- qt/mainwindow_ui.py | 216 ++++++++++------ qt/ui_mainwindow.py | 110 +++++--- tweaks/tweaks.py | 123 ++++++++- 9 files changed, 740 insertions(+), 279 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b35c978..54ab8d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: - name: Zip Nugget.app (Intel) run: | cd dist - zip -r "Nugget_macOS_intel.zip" Nugget.app + zip -r -y "Nugget_macOS_intel.zip" Nugget.app - name: Upload ZIP (Intel) uses: actions/upload-artifact@v4 @@ -60,7 +60,7 @@ jobs: - name: Zip Nugget.app (ARM) run: | cd dist - zip -r "Nugget_macOS_arm.zip" Nugget.app + zip -r -y "Nugget_macOS_arm.zip" Nugget.app - name: Upload ZIP (ARM) uses: actions/upload-artifact@v4 diff --git a/compile.py b/compile.py index 781dc2b..771531b 100644 --- a/compile.py +++ b/compile.py @@ -12,6 +12,7 @@ args = [ '--add-data=files/:./files', '--copy-metadata=pyimg4', '--onedir', + '--noconfirm', '--name=Nugget', '--icon=nugget.ico' ] diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index 1088713..a35c4ec 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -35,6 +35,8 @@ class DeviceManager: self.apply_over_wifi = True self.skip_setup = True self.auto_reboot = True + self.supervised = False + self.organization_name = "" def get_devices(self, settings: QSettings): self.devices.clear() @@ -182,6 +184,9 @@ class DeviceManager: "PostSetupProfileWasInstalled": True, "IsSupervised": False, } + if self.supervised == True: + cloud_config_plist["IsSupervised"] = True + cloud_config_plist["OrganizationName"] = self.organization_name files_to_restore.append(FileToRestore( contents=plistlib.dumps(cloud_config_plist), restore_path="systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/CloudConfigurationDetails.plist", diff --git a/gui/main_window.py b/gui/main_window.py index f24d202..6775812 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -124,7 +124,8 @@ class MainWindow(QtWidgets.QMainWindow): self.ui.allowWifiApplyingChk.toggled.connect(self.on_allowWifiApplyingChk_toggled) self.ui.skipSetupChk.toggled.connect(self.on_skipSetupChk_toggled) self.ui.autoRebootChk.toggled.connect(self.on_autoRebootChk_toggled) - + self.ui.supervisionChk.toggled.connect(self.on_supervisionChk_toggled) + self.ui.supervisionOrganization.textEdited.connect(self.on_supervisionOrgTxt_textEdited) self.ui.resetPairBtn.clicked.connect(self.on_resetPairBtn_clicked) ## MOBILE GESTALT PAGE ACTIONS @@ -152,6 +153,7 @@ class MainWindow(QtWidgets.QMainWindow): self.ui.aodChk.clicked.connect(self.on_aodChk_clicked) self.ui.addGestaltKeyBtn.clicked.connect(self.on_addGestaltKeyBtn_clicked) + self.ui.aiEnablerContent.hide() ## GENERAL INTERFACE FUNCTIONS @@ -290,14 +292,20 @@ class MainWindow(QtWidgets.QMainWindow): apply_over_wifi = self.settings.value("apply_over_wifi", True, type=bool) skip_setup = self.settings.value("skip_setup", True, type=bool) auto_reboot = self.settings.value("auto_reboot", True, type=bool) + supervised = self.settings.value("supervised", False, type=bool) + organization_name = self.settings.value("organization_name", "", type=str) self.ui.allowWifiApplyingChk.setChecked(apply_over_wifi) self.ui.skipSetupChk.setChecked(skip_setup) self.ui.autoRebootChk.setChecked(auto_reboot) + self.ui.supervisionChk.setChecked(supervised) + self.ui.supervisionOrganization.setText(organization_name) self.device_manager.apply_over_wifi = apply_over_wifi self.device_manager.skip_setup = skip_setup self.device_manager.auto_reboot = auto_reboot + self.device_manager.supervised = supervised + self.device_manager.organization_name = organization_name except: pass @@ -569,12 +577,7 @@ class MainWindow(QtWidgets.QMainWindow): def on_spoofedModelDrp_activated(self, index: int): tweaks["SpoofModel"].set_selected_option(index) tweaks["SpoofHardware"].set_selected_option(index) - if index == 0: - tweaks["SpoofCPU"].set_selected_option(0) - elif index == 1 or index == 2: - tweaks["SpoofCPU"].set_selected_option(1) - else: - tweaks["SpoofCPU"].set_selected_option(2) + tweaks["SpoofCPU"].set_selected_option(index) ## SPRINGBOARD OPTIONS PAGE @@ -641,6 +644,13 @@ class MainWindow(QtWidgets.QMainWindow): self.device_manager.auto_reboot = checked # save the setting self.settings.setValue("auto_reboot", checked) + def on_supervisionOrgTxt_textEdited(self, text: str): + self.device_manager.organization_name = text + self.settings.setValue("organization_name", text) + def on_supervisionChk_toggled(self, checked: bool): + self.device_manager.supervised = checked + # save the setting + self.settings.setValue("supervised", checked) # Device Options def on_resetPairBtn_clicked(self): diff --git a/mainwindow_ui.py b/mainwindow_ui.py index ebdfe69..9aee70d 100644 --- a/mainwindow_ui.py +++ b/mainwindow_ui.py @@ -3,7 +3,7 @@ ################################################################################ ## Form generated from reading UI file 'mainwindow.ui' ## -## Created by: Qt User Interface Compiler version 6.6.3 +## Created by: Qt User Interface Compiler version 6.8.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ @@ -190,7 +190,7 @@ class Ui_Nugget(object): " border-bottom-right-radius: 0px;\n" "}") icon = QIcon() - icon.addFile(u":/icon/phone.svg", QSize(), QIcon.Normal, QIcon.Off) + icon.addFile(u":/icon/phone.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.toolButton_6.setIcon(icon) self.horizontalLayout_15.addWidget(self.toolButton_6) @@ -244,7 +244,7 @@ class Ui_Nugget(object): " border-radius: 0px;\n" "}") icon1 = QIcon() - icon1.addFile(u":/icon/arrow-clockwise.svg", QSize(), QIcon.Normal, QIcon.Off) + icon1.addFile(u":/icon/arrow-clockwise.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.refreshBtn.setIcon(icon1) self.refreshBtn.setCheckable(False) self.refreshBtn.setToolButtonStyle(Qt.ToolButtonIconOnly) @@ -297,7 +297,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.homePageBtn.sizePolicy().hasHeightForWidth()) self.homePageBtn.setSizePolicy(sizePolicy2) icon2 = QIcon() - icon2.addFile(u":/icon/house.svg", QSize(), QIcon.Normal, QIcon.Off) + icon2.addFile(u":/icon/house.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.homePageBtn.setIcon(icon2) self.homePageBtn.setCheckable(True) self.homePageBtn.setChecked(True) @@ -312,7 +312,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.explorePageBtn.sizePolicy().hasHeightForWidth()) self.explorePageBtn.setSizePolicy(sizePolicy2) icon3 = QIcon() - icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Normal, QIcon.Off) + icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.explorePageBtn.setIcon(icon3) self.explorePageBtn.setCheckable(True) self.explorePageBtn.setAutoExclusive(True) @@ -325,7 +325,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.locSimPageBtn.sizePolicy().hasHeightForWidth()) self.locSimPageBtn.setSizePolicy(sizePolicy2) icon4 = QIcon() - icon4.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Normal, QIcon.Off) + icon4.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.locSimPageBtn.setIcon(icon4) self.locSimPageBtn.setCheckable(True) self.locSimPageBtn.setAutoExclusive(True) @@ -339,7 +339,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.sidebarDiv1.setFrameShadow(QFrame.Plain) - self.sidebarDiv1.setFrameShape(QFrame.HLine) + self.sidebarDiv1.setFrameShape(QFrame.Shape.HLine) self.verticalLayout.addWidget(self.sidebarDiv1) @@ -348,7 +348,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth()) self.gestaltPageBtn.setSizePolicy(sizePolicy2) icon5 = QIcon() - icon5.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off) + icon5.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.gestaltPageBtn.setIcon(icon5) self.gestaltPageBtn.setIconSize(QSize(24, 28)) self.gestaltPageBtn.setCheckable(True) @@ -366,7 +366,7 @@ class Ui_Nugget(object): font.setFamilies([u".AppleSystemUIFont"]) self.featureFlagsPageBtn.setFont(font) icon6 = QIcon() - icon6.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off) + icon6.addFile(u":/icon/flag.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.featureFlagsPageBtn.setIcon(icon6) self.featureFlagsPageBtn.setCheckable(True) self.featureFlagsPageBtn.setAutoExclusive(True) @@ -390,7 +390,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth()) self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2) icon7 = QIcon() - icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off) + icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.springboardOptionsPageBtn.setIcon(icon7) self.springboardOptionsPageBtn.setCheckable(True) self.springboardOptionsPageBtn.setAutoExclusive(True) @@ -403,7 +403,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth()) self.internalOptionsPageBtn.setSizePolicy(sizePolicy2) icon8 = QIcon() - icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Normal, QIcon.Off) + icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.internalOptionsPageBtn.setIcon(icon8) self.internalOptionsPageBtn.setCheckable(True) self.internalOptionsPageBtn.setAutoExclusive(True) @@ -417,7 +417,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.sidebarDiv2.setFrameShadow(QFrame.Plain) - self.sidebarDiv2.setFrameShape(QFrame.HLine) + self.sidebarDiv2.setFrameShape(QFrame.Shape.HLine) self.verticalLayout.addWidget(self.sidebarDiv2) @@ -426,7 +426,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.applyPageBtn.sizePolicy().hasHeightForWidth()) self.applyPageBtn.setSizePolicy(sizePolicy2) icon9 = QIcon() - icon9.addFile(u":/icon/check-circle.svg", QSize(), QIcon.Normal, QIcon.Off) + icon9.addFile(u":/icon/check-circle.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.applyPageBtn.setIcon(icon9) self.applyPageBtn.setCheckable(True) self.applyPageBtn.setAutoExclusive(True) @@ -439,7 +439,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.settingsPageBtn.sizePolicy().hasHeightForWidth()) self.settingsPageBtn.setSizePolicy(sizePolicy2) icon10 = QIcon() - icon10.addFile(u":/icon/gear.svg", QSize(), QIcon.Normal, QIcon.Off) + icon10.addFile(u":/icon/gear.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.settingsPageBtn.setIcon(icon10) self.settingsPageBtn.setCheckable(True) self.settingsPageBtn.setAutoExclusive(True) @@ -469,6 +469,7 @@ class Ui_Nugget(object): self.pages.setObjectName(u"pages") self.homePage = QWidget() self.homePage.setObjectName(u"homePage") + self.homePage.setFont(font) self.verticalLayout_2 = QVBoxLayout(self.homePage) self.verticalLayout_2.setObjectName(u"verticalLayout_2") self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) @@ -508,7 +509,7 @@ class Ui_Nugget(object): self.phoneVersionLbl = QLabel(self.verticalWidget) self.phoneVersionLbl.setObjectName(u"phoneVersionLbl") - self.phoneVersionLbl.setCursor(QCursor(Qt.PointingHandCursor)) + self.phoneVersionLbl.setCursor(QCursor(Qt.CursorShape.PointingHandCursor)) self.phoneVersionLbl.setTextFormat(Qt.RichText) self.phoneVersionLbl.setOpenExternalLinks(False) @@ -530,7 +531,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_4.setFrameShadow(QFrame.Plain) - self.line_4.setFrameShape(QFrame.HLine) + self.line_4.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_2.addWidget(self.line_4) @@ -551,7 +552,7 @@ class Ui_Nugget(object): " padding: 0px;\n" "}") icon11 = QIcon() - icon11.addFile(u":/credits/big_nugget.png", QSize(), QIcon.Normal, QIcon.Off) + icon11.addFile(u":/credits/big_nugget.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.bigNuggetBtn.setIcon(icon11) self.bigNuggetBtn.setIconSize(QSize(150, 200)) @@ -588,7 +589,7 @@ class Ui_Nugget(object): self.discordBtn = QToolButton(self.verticalWidget1) self.discordBtn.setObjectName(u"discordBtn") icon12 = QIcon() - icon12.addFile(u":/icon/discord.svg", QSize(), QIcon.Normal, QIcon.Off) + icon12.addFile(u":/icon/discord.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.discordBtn.setIcon(icon12) self.discordBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -597,7 +598,7 @@ class Ui_Nugget(object): self.starOnGithubBtn = QToolButton(self.verticalWidget1) self.starOnGithubBtn.setObjectName(u"starOnGithubBtn") icon13 = QIcon() - icon13.addFile(u":/icon/star.svg", QSize(), QIcon.Normal, QIcon.Off) + icon13.addFile(u":/icon/star.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.starOnGithubBtn.setIcon(icon13) self.starOnGithubBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -641,7 +642,7 @@ class Ui_Nugget(object): " background: none;\n" "}") icon14 = QIcon() - icon14.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Normal, QIcon.Off) + icon14.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminBtn.setIcon(icon14) self.leminBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -661,7 +662,7 @@ class Ui_Nugget(object): " color: #FFFFFF;\n" "}") icon15 = QIcon() - icon15.addFile(u":/icon/twitter.svg", QSize(), QIcon.Normal, QIcon.Off) + icon15.addFile(u":/icon/twitter.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminTwitterBtn.setIcon(icon15) self.horizontalLayout_6.addWidget(self.leminTwitterBtn) @@ -680,7 +681,7 @@ class Ui_Nugget(object): " color: #FFFFFF;\n" "}") icon16 = QIcon() - icon16.addFile(u":/icon/github.svg", QSize(), QIcon.Normal, QIcon.Off) + icon16.addFile(u":/icon/github.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminGithubBtn.setIcon(icon16) self.horizontalLayout_6.addWidget(self.leminGithubBtn) @@ -700,7 +701,7 @@ class Ui_Nugget(object): " color: #FFFFFF;\n" "}") icon17 = QIcon() - icon17.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Normal, QIcon.Off) + icon17.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminKoFiBtn.setIcon(icon17) self.horizontalLayout_6.addWidget(self.leminKoFiBtn) @@ -933,10 +934,16 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_8.setFrameShadow(QFrame.Plain) - self.line_8.setFrameShape(QFrame.HLine) + self.line_8.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_4.addWidget(self.line_8) + self.mgaWarningLbl = QLabel(self.gestaltPage) + self.mgaWarningLbl.setObjectName(u"mgaWarningLbl") + self.mgaWarningLbl.setFont(font2) + + self.verticalLayout_4.addWidget(self.mgaWarningLbl) + self.scrollArea = QScrollArea(self.gestaltPage) self.scrollArea.setObjectName(u"scrollArea") self.scrollArea.setFrameShape(QFrame.NoFrame) @@ -945,7 +952,7 @@ class Ui_Nugget(object): self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, -420, 650, 1200)) + self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) @@ -953,7 +960,7 @@ class Ui_Nugget(object): self.verticalLayout_9.setContentsMargins(0, 0, 0, 0) self.gestaltPageContent = QWidget(self.scrollAreaWidgetContents) self.gestaltPageContent.setObjectName(u"gestaltPageContent") - self.gestaltPageContent.setEnabled(False) + self.gestaltPageContent.setEnabled(True) self.verticalLayout_8 = QVBoxLayout(self.gestaltPageContent) self.verticalLayout_8.setObjectName(u"verticalLayout_8") self.verticalLayout_8.setContentsMargins(0, 0, 0, 0) @@ -1049,21 +1056,13 @@ class Ui_Nugget(object): self.verticalLayout_8.addWidget(self.parallaxChk) - self.horizontalWidget4 = QWidget(self.gestaltPageContent) - self.horizontalWidget4.setObjectName(u"horizontalWidget4") - self.horizontalLayout_10 = QHBoxLayout(self.horizontalWidget4) - self.horizontalLayout_10.setObjectName(u"horizontalLayout_10") - self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0) - - self.verticalLayout_8.addWidget(self.horizontalWidget4) - self.line_7 = QFrame(self.gestaltPageContent) self.line_7.setObjectName(u"line_7") self.line_7.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") self.line_7.setFrameShadow(QFrame.Plain) - self.line_7.setFrameShape(QFrame.HLine) + self.line_7.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_7) @@ -1108,7 +1107,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_9.setFrameShadow(QFrame.Plain) - self.line_9.setFrameShape(QFrame.HLine) + self.line_9.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_9) @@ -1128,7 +1127,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_10.setFrameShadow(QFrame.Plain) - self.line_10.setFrameShape(QFrame.HLine) + self.line_10.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_10) @@ -1137,11 +1136,6 @@ class Ui_Nugget(object): self.verticalLayout_8.addWidget(self.collisionSOSChk) - self.sleepApneaChk = QCheckBox(self.gestaltPageContent) - self.sleepApneaChk.setObjectName(u"sleepApneaChk") - - self.verticalLayout_8.addWidget(self.sleepApneaChk) - self.aodChk = QCheckBox(self.gestaltPageContent) self.aodChk.setObjectName(u"aodChk") @@ -1153,7 +1147,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_22.setFrameShadow(QFrame.Plain) - self.line_22.setFrameShape(QFrame.HLine) + self.line_22.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_22) @@ -1162,14 +1156,15 @@ class Ui_Nugget(object): self.horizontalLayout_11.setContentsMargins(-1, -1, -1, 0) self.label_10 = QLabel(self.gestaltPageContent) self.label_10.setObjectName(u"label_10") + self.label_10.setEnabled(True) self.horizontalLayout_11.addWidget(self.label_10) self.addGestaltKeyBtn = QToolButton(self.gestaltPageContent) self.addGestaltKeyBtn.setObjectName(u"addGestaltKeyBtn") - self.addGestaltKeyBtn.setEnabled(False) + self.addGestaltKeyBtn.setEnabled(True) icon18 = QIcon() - icon18.addFile(u":/icon/plus.svg", QSize(), QIcon.Normal, QIcon.Off) + icon18.addFile(u":/icon/plus.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.addGestaltKeyBtn.setIcon(icon18) self.addGestaltKeyBtn.setCheckable(False) self.addGestaltKeyBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -1179,20 +1174,31 @@ class Ui_Nugget(object): self.verticalLayout_8.addLayout(self.horizontalLayout_11) + self.label_12 = QLabel(self.gestaltPageContent) + self.label_12.setObjectName(u"label_12") + + self.verticalLayout_8.addWidget(self.label_12) + self.line_23 = QFrame(self.gestaltPageContent) self.line_23.setObjectName(u"line_23") self.line_23.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") self.line_23.setFrameShadow(QFrame.Plain) - self.line_23.setFrameShape(QFrame.HLine) + self.line_23.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_23) self.customKeysCnt = QWidget(self.gestaltPageContent) self.customKeysCnt.setObjectName(u"customKeysCnt") + self.customKeysCnt.setEnabled(True) self.verticalLayout_32 = QVBoxLayout(self.customKeysCnt) self.verticalLayout_32.setObjectName(u"verticalLayout_32") + self.customKeysLayout = QVBoxLayout() + self.customKeysLayout.setObjectName(u"customKeysLayout") + + self.verticalLayout_32.addLayout(self.customKeysLayout) + self.verticalLayout_8.addWidget(self.customKeysCnt) @@ -1265,7 +1271,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_12.setFrameShadow(QFrame.Plain) - self.line_12.setFrameShape(QFrame.HLine) + self.line_12.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_14.addWidget(self.line_12) @@ -1292,7 +1298,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.div.setFrameShadow(QFrame.Plain) - self.div.setFrameShape(QFrame.HLine) + self.div.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_13.addWidget(self.div) @@ -1371,27 +1377,32 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_13.setFrameShadow(QFrame.Plain) - self.line_13.setFrameShape(QFrame.HLine) + self.line_13.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_17.addWidget(self.line_13) - self.euEnablerEnabledChk = QCheckBox(self.euEnablerPage) - self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") - - self.verticalLayout_17.addWidget(self.euEnablerEnabledChk) - self.euEnablerPageContent = QWidget(self.euEnablerPage) self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") self.euEnablerPageContent.setEnabled(False) self.verticalLayout_16 = QVBoxLayout(self.euEnablerPageContent) self.verticalLayout_16.setObjectName(u"verticalLayout_16") self.verticalLayout_16.setContentsMargins(0, 0, 0, 0) - self.label_5 = QLabel(self.euEnablerPageContent) + self.euEnablerContent = QWidget(self.euEnablerPageContent) + self.euEnablerContent.setObjectName(u"euEnablerContent") + self.verticalLayout_36 = QVBoxLayout(self.euEnablerContent) + self.verticalLayout_36.setObjectName(u"verticalLayout_36") + self.verticalLayout_36.setContentsMargins(0, 0, 0, 0) + self.euEnablerEnabledChk = QCheckBox(self.euEnablerContent) + self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + + self.verticalLayout_36.addWidget(self.euEnablerEnabledChk) + + self.label_5 = QLabel(self.euEnablerContent) self.label_5.setObjectName(u"label_5") - self.verticalLayout_16.addWidget(self.label_5) + self.verticalLayout_36.addWidget(self.label_5) - self.methodChoiceDrp = QComboBox(self.euEnablerPageContent) + self.methodChoiceDrp = QComboBox(self.euEnablerContent) self.methodChoiceDrp.addItem("") self.methodChoiceDrp.addItem("") self.methodChoiceDrp.setObjectName(u"methodChoiceDrp") @@ -1429,28 +1440,37 @@ class Ui_Nugget(object): " color: #ffffff;\n" "}") - self.verticalLayout_16.addWidget(self.methodChoiceDrp) + self.verticalLayout_36.addWidget(self.methodChoiceDrp) - self.label_6 = QLabel(self.euEnablerPageContent) + self.label_6 = QLabel(self.euEnablerContent) self.label_6.setObjectName(u"label_6") - self.verticalLayout_16.addWidget(self.label_6) + self.verticalLayout_36.addWidget(self.label_6) - self.regionCodeTxt = QLineEdit(self.euEnablerPageContent) + self.regionCodeTxt = QLineEdit(self.euEnablerContent) self.regionCodeTxt.setObjectName(u"regionCodeTxt") - self.verticalLayout_16.addWidget(self.regionCodeTxt) + self.verticalLayout_36.addWidget(self.regionCodeTxt) - self.line_16 = QFrame(self.euEnablerPageContent) + self.line_16 = QFrame(self.euEnablerContent) self.line_16.setObjectName(u"line_16") self.line_16.setEnabled(False) self.line_16.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") self.line_16.setFrameShadow(QFrame.Plain) - self.line_16.setFrameShape(QFrame.HLine) + self.line_16.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_16.addWidget(self.line_16) + self.verticalLayout_36.addWidget(self.line_16) + + + self.verticalLayout_16.addWidget(self.euEnablerContent) + + self.mgaWarningLbl2 = QLabel(self.euEnablerPageContent) + self.mgaWarningLbl2.setObjectName(u"mgaWarningLbl2") + self.mgaWarningLbl2.setFont(font2) + + self.verticalLayout_16.addWidget(self.mgaWarningLbl2) self.enableAIChk = QCheckBox(self.euEnablerPageContent) self.enableAIChk.setObjectName(u"enableAIChk") @@ -1462,6 +1482,16 @@ class Ui_Nugget(object): self.verticalLayout_34 = QVBoxLayout(self.aiEnablerContent) self.verticalLayout_34.setObjectName(u"verticalLayout_34") self.verticalLayout_34.setContentsMargins(0, 5, 0, 5) + self.eligFileChk = QCheckBox(self.aiEnablerContent) + self.eligFileChk.setObjectName(u"eligFileChk") + + self.verticalLayout_34.addWidget(self.eligFileChk) + + self.experimentalChk = QCheckBox(self.aiEnablerContent) + self.experimentalChk.setObjectName(u"experimentalChk") + + self.verticalLayout_34.addWidget(self.experimentalChk) + self.languageLbl = QLabel(self.aiEnablerContent) self.languageLbl.setObjectName(u"languageLbl") @@ -1478,7 +1508,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_21.setFrameShadow(QFrame.Plain) - self.line_21.setFrameShape(QFrame.HLine) + self.line_21.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_34.addWidget(self.line_21) @@ -1501,6 +1531,28 @@ class Ui_Nugget(object): self.spoofedModelDrp.addItem("") self.spoofedModelDrp.addItem("") self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") self.spoofedModelDrp.setObjectName(u"spoofedModelDrp") self.spoofedModelDrp.setMaximumSize(QSize(325, 16777215)) self.spoofedModelDrp.setStyleSheet(u"QComboBox {\n" @@ -1606,7 +1658,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_11.setFrameShadow(QFrame.Plain) - self.line_11.setFrameShape(QFrame.HLine) + self.line_11.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_10.addWidget(self.line_11) @@ -1633,7 +1685,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_6.setFrameShadow(QFrame.Plain) - self.line_6.setFrameShape(QFrame.HLine) + self.line_6.setFrameShape(QFrame.Shape.HLine) self._2.addWidget(self.line_6) @@ -1732,7 +1784,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_121.setFrameShadow(QFrame.Plain) - self.line_121.setFrameShape(QFrame.HLine) + self.line_121.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_141.addWidget(self.line_121) @@ -1759,7 +1811,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.div1.setFrameShadow(QFrame.Plain) - self.div1.setFrameShape(QFrame.HLine) + self.div1.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.div1) @@ -1794,7 +1846,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_17.setFrameShadow(QFrame.Plain) - self.line_17.setFrameShape(QFrame.HLine) + self.line_17.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.line_17) @@ -1814,7 +1866,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_18.setFrameShadow(QFrame.Plain) - self.line_18.setFrameShape(QFrame.HLine) + self.line_18.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.line_18) @@ -1839,7 +1891,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_19.setFrameShadow(QFrame.Plain) - self.line_19.setFrameShape(QFrame.HLine) + self.line_19.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.line_19) @@ -1924,7 +1976,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_5.setFrameShadow(QFrame.Plain) - self.line_5.setFrameShape(QFrame.HLine) + self.line_5.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_24.addWidget(self.line_5) @@ -1950,7 +2002,7 @@ class Ui_Nugget(object): self.chooseGestaltBtn = QToolButton(self.verticalWidget2) self.chooseGestaltBtn.setObjectName(u"chooseGestaltBtn") icon19 = QIcon() - icon19.addFile(u":/icon/folder.svg", QSize(), QIcon.Normal, QIcon.Off) + icon19.addFile(u":/icon/folder.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.chooseGestaltBtn.setIcon(icon19) self.chooseGestaltBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -1959,12 +2011,12 @@ class Ui_Nugget(object): self.verticalLayout_24.addLayout(self.horizontalLayout_7) - self.horizontalWidget5 = QWidget(self.verticalWidget2) - self.horizontalWidget5.setObjectName(u"horizontalWidget5") - self.horizontalLayout_17 = QHBoxLayout(self.horizontalWidget5) + self.horizontalWidget4 = QWidget(self.verticalWidget2) + self.horizontalWidget4.setObjectName(u"horizontalWidget4") + self.horizontalLayout_17 = QHBoxLayout(self.horizontalWidget4) self.horizontalLayout_17.setObjectName(u"horizontalLayout_17") self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0) - self.applyTweaksBtn = QToolButton(self.horizontalWidget5) + self.applyTweaksBtn = QToolButton(self.horizontalWidget4) self.applyTweaksBtn.setObjectName(u"applyTweaksBtn") self.applyTweaksBtn.setIcon(icon9) self.applyTweaksBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -1972,7 +2024,7 @@ class Ui_Nugget(object): self.horizontalLayout_17.addWidget(self.applyTweaksBtn) - self.verticalLayout_24.addWidget(self.horizontalWidget5) + self.verticalLayout_24.addWidget(self.horizontalWidget4) self.statusLbl = QLabel(self.verticalWidget2) self.statusLbl.setObjectName(u"statusLbl") @@ -1994,21 +2046,21 @@ class Ui_Nugget(object): self.verticalLayout_24.addItem(self.verticalSpacer_2) - self.horizontalWidget6 = QWidget(self.verticalWidget2) - self.horizontalWidget6.setObjectName(u"horizontalWidget6") - self.horizontalLayout_25 = QHBoxLayout(self.horizontalWidget6) + self.horizontalWidget5 = QWidget(self.verticalWidget2) + self.horizontalWidget5.setObjectName(u"horizontalWidget5") + self.horizontalLayout_25 = QHBoxLayout(self.horizontalWidget5) self.horizontalLayout_25.setObjectName(u"horizontalLayout_25") self.horizontalLayout_25.setContentsMargins(0, 0, 0, 0) self.horizontalSpacer_14 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) self.horizontalLayout_25.addItem(self.horizontalSpacer_14) - self.removeTweaksBtn = QToolButton(self.horizontalWidget6) + self.removeTweaksBtn = QToolButton(self.horizontalWidget5) self.removeTweaksBtn.setObjectName(u"removeTweaksBtn") self.horizontalLayout_25.addWidget(self.removeTweaksBtn) - self.resetGestaltBtn = QToolButton(self.horizontalWidget6) + self.resetGestaltBtn = QToolButton(self.horizontalWidget5) self.resetGestaltBtn.setObjectName(u"resetGestaltBtn") self.horizontalLayout_25.addWidget(self.resetGestaltBtn) @@ -2018,7 +2070,7 @@ class Ui_Nugget(object): self.horizontalLayout_25.addItem(self.horizontalSpacer_16) - self.verticalLayout_24.addWidget(self.horizontalWidget6) + self.verticalLayout_24.addWidget(self.horizontalWidget5) self.verticalLayout_6.addWidget(self.verticalWidget2) @@ -2081,7 +2133,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_111.setFrameShadow(QFrame.Plain) - self.line_111.setFrameShape(QFrame.HLine) + self.line_111.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_101.addWidget(self.line_111) @@ -2104,13 +2156,39 @@ class Ui_Nugget(object): self._21.addWidget(self.skipSetupChk) + self.autoRebootChk = QCheckBox(self.settingsPageContent) + self.autoRebootChk.setObjectName(u"autoRebootChk") + self.autoRebootChk.setChecked(True) + + self._21.addWidget(self.autoRebootChk) + + self.supervisionChk = QCheckBox(self.settingsPageContent) + self.supervisionChk.setObjectName(u"supervisionChk") + self.supervisionChk.setChecked(True) + + self._21.addWidget(self.supervisionChk) + + self.supervisionOrganization = QLineEdit(self.settingsPageContent) + self.supervisionOrganization.setObjectName(u"supervisionOrganization") + + self._21.addWidget(self.supervisionOrganization) + + self.verticalSpacer_21 = QSpacerItem(20, 10, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) + + self._21.addItem(self.verticalSpacer_21) + + self.label_15 = QLabel(self.settingsPageContent) + self.label_15.setObjectName(u"label_15") + + self._21.addWidget(self.label_15) + self.line_20 = QFrame(self.settingsPageContent) self.line_20.setObjectName(u"line_20") self.line_20.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") self.line_20.setFrameShadow(QFrame.Plain) - self.line_20.setFrameShape(QFrame.HLine) + self.line_20.setFrameShape(QFrame.Shape.HLine) self._21.addWidget(self.line_20) @@ -2196,7 +2274,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_2.setFrameShadow(QFrame.Plain) - self.line_2.setFrameShape(QFrame.HLine) + self.line_2.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_28.addWidget(self.line_2) @@ -2238,18 +2316,18 @@ class Ui_Nugget(object): self.verticalLayout_29.addWidget(self.longitudeTxt) - self.horizontalWidget7 = QWidget(self.verticalWidget3) - self.horizontalWidget7.setObjectName(u"horizontalWidget7") - self.horizontalLayout_3 = QHBoxLayout(self.horizontalWidget7) + self.horizontalWidget6 = QWidget(self.verticalWidget3) + self.horizontalWidget6.setObjectName(u"horizontalWidget6") + self.horizontalLayout_3 = QHBoxLayout(self.horizontalWidget6) self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) - self.setLocationBtn = QToolButton(self.horizontalWidget7) + self.setLocationBtn = QToolButton(self.horizontalWidget6) self.setLocationBtn.setObjectName(u"setLocationBtn") self.horizontalLayout_3.addWidget(self.setLocationBtn) - self.verticalLayout_29.addWidget(self.horizontalWidget7) + self.verticalLayout_29.addWidget(self.horizontalWidget6) self.horizontalWidget_22 = QWidget(self.verticalWidget3) self.horizontalWidget_22.setObjectName(u"horizontalWidget_22") @@ -2297,7 +2375,7 @@ class Ui_Nugget(object): " border-radius: 0px;\n" "}") icon20 = QIcon() - icon20.addFile(u":/icon/pencil.svg", QSize(), QIcon.Normal, QIcon.Off) + icon20.addFile(u":/icon/pencil.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.toolButton_12.setIcon(icon20) self.toolButton_12.setIconSize(QSize(25, 25)) @@ -2336,7 +2414,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_14.setFrameShadow(QFrame.Plain) - self.line_14.setFrameShape(QFrame.HLine) + self.line_14.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_20.addWidget(self.line_14) @@ -2360,7 +2438,7 @@ class Ui_Nugget(object): self.importOperationBtn.setObjectName(u"importOperationBtn") self.importOperationBtn.setEnabled(True) icon21 = QIcon() - icon21.addFile(u":/icon/import.svg", QSize(), QIcon.Normal, QIcon.Off) + icon21.addFile(u":/icon/import.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.importOperationBtn.setIcon(icon21) self.importOperationBtn.setIconSize(QSize(20, 20)) self.importOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -2457,7 +2535,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_3.setFrameShadow(QFrame.Plain) - self.line_3.setFrameShape(QFrame.HLine) + self.line_3.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_31.addWidget(self.line_3) @@ -2514,12 +2592,12 @@ class Ui_Nugget(object): self.horizontalLayout_23.addItem(self.horizontalSpacer_10) - self.horizontalWidget8 = QWidget(self.horizontalWidget_8) - self.horizontalWidget8.setObjectName(u"horizontalWidget8") - self.horizontalLayout_26 = QHBoxLayout(self.horizontalWidget8) + self.horizontalWidget7 = QWidget(self.horizontalWidget_8) + self.horizontalWidget7.setObjectName(u"horizontalWidget7") + self.horizontalLayout_26 = QHBoxLayout(self.horizontalWidget7) self.horizontalLayout_26.setObjectName(u"horizontalLayout_26") self.horizontalLayout_26.setContentsMargins(0, 0, 0, 0) - self.importThemeBtn = QToolButton(self.horizontalWidget8) + self.importThemeBtn = QToolButton(self.horizontalWidget7) self.importThemeBtn.setObjectName(u"importThemeBtn") self.importThemeBtn.setEnabled(False) self.importThemeBtn.setStyleSheet(u"QToolButton {\n" @@ -2528,22 +2606,22 @@ class Ui_Nugget(object): self.horizontalLayout_26.addWidget(self.importThemeBtn) - self.importThemeFolderBtn = QToolButton(self.horizontalWidget8) + self.importThemeFolderBtn = QToolButton(self.horizontalWidget7) self.importThemeFolderBtn.setObjectName(u"importThemeFolderBtn") self.importThemeFolderBtn.setIcon(icon19) self.horizontalLayout_26.addWidget(self.importThemeFolderBtn) - self.importThemeZipBtn = QToolButton(self.horizontalWidget8) + self.importThemeZipBtn = QToolButton(self.horizontalWidget7) self.importThemeZipBtn.setObjectName(u"importThemeZipBtn") icon22 = QIcon() - icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off) + icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.importThemeZipBtn.setIcon(icon22) self.horizontalLayout_26.addWidget(self.importThemeZipBtn) - self.horizontalLayout_23.addWidget(self.horizontalWidget8) + self.horizontalLayout_23.addWidget(self.horizontalWidget7) self.verticalLayout_23.addWidget(self.horizontalWidget_8) @@ -2554,7 +2632,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_15.setFrameShadow(QFrame.Plain) - self.line_15.setFrameShape(QFrame.HLine) + self.line_15.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_23.addWidget(self.line_15) @@ -2575,7 +2653,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line.setFrameShadow(QFrame.Plain) - self.line.setFrameShape(QFrame.HLine) + self.line.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_22.addWidget(self.line) @@ -2593,26 +2671,26 @@ class Ui_Nugget(object): self.verticalLayout_22.addItem(self.verticalSpacer_9) - self.horizontalWidget9 = QWidget(self.themesPageContent) - self.horizontalWidget9.setObjectName(u"horizontalWidget9") - self.horizontalLayout_16 = QHBoxLayout(self.horizontalWidget9) + self.horizontalWidget8 = QWidget(self.themesPageContent) + self.horizontalWidget8.setObjectName(u"horizontalWidget8") + self.horizontalLayout_16 = QHBoxLayout(self.horizontalWidget8) self.horizontalLayout_16.setObjectName(u"horizontalLayout_16") self.horizontalLayout_16.setContentsMargins(0, 0, 0, 0) - self.hideNamesBtn = QToolButton(self.horizontalWidget9) + self.hideNamesBtn = QToolButton(self.horizontalWidget8) self.hideNamesBtn.setObjectName(u"hideNamesBtn") sizePolicy2.setHeightForWidth(self.hideNamesBtn.sizePolicy().hasHeightForWidth()) self.hideNamesBtn.setSizePolicy(sizePolicy2) self.horizontalLayout_16.addWidget(self.hideNamesBtn) - self.borderAllBtn = QToolButton(self.horizontalWidget9) + self.borderAllBtn = QToolButton(self.horizontalWidget8) self.borderAllBtn.setObjectName(u"borderAllBtn") sizePolicy2.setHeightForWidth(self.borderAllBtn.sizePolicy().hasHeightForWidth()) self.borderAllBtn.setSizePolicy(sizePolicy2) self.horizontalLayout_16.addWidget(self.borderAllBtn) - self.addAllBtn = QToolButton(self.horizontalWidget9) + self.addAllBtn = QToolButton(self.horizontalWidget8) self.addAllBtn.setObjectName(u"addAllBtn") sizePolicy2.setHeightForWidth(self.addAllBtn.sizePolicy().hasHeightForWidth()) self.addAllBtn.setSizePolicy(sizePolicy2) @@ -2620,7 +2698,7 @@ class Ui_Nugget(object): self.horizontalLayout_16.addWidget(self.addAllBtn) - self.verticalLayout_22.addWidget(self.horizontalWidget9) + self.verticalLayout_22.addWidget(self.horizontalWidget8) self.verticalLayout_23.addWidget(self.themesPageContent) @@ -2650,30 +2728,30 @@ class Ui_Nugget(object): def retranslateUi(self, Nugget): Nugget.setWindowTitle(QCoreApplication.translate("Nugget", u"Nugget", None)) - self.centralwidget.setProperty("cls", QCoreApplication.translate("Nugget", u"central", None)) + self.centralwidget.setProperty(u"cls", QCoreApplication.translate("Nugget", u"central", None)) self.devicePicker.setPlaceholderText(QCoreApplication.translate("Nugget", u"None", None)) - self.refreshBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"btn", None)) + self.refreshBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"btn", None)) self.titleBar.setText(QCoreApplication.translate("Nugget", u"Nugget", None)) self.homePageBtn.setText(QCoreApplication.translate("Nugget", u" Home", None)) - self.homePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.homePageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.explorePageBtn.setText(QCoreApplication.translate("Nugget", u" Explore", None)) - self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.explorePageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.locSimPageBtn.setText(QCoreApplication.translate("Nugget", u" Location Simulation", None)) - self.locSimPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.locSimPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None)) - self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.gestaltPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) - self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.featureFlagsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" Eligibility", None)) - self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.euEnablerPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) - self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.springboardOptionsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None)) - self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.internalOptionsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None)) - self.applyPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.applyPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.settingsPageBtn.setText(QCoreApplication.translate("Nugget", u" Settings", None)) - self.settingsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.settingsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.phoneNameLbl.setText(QCoreApplication.translate("Nugget", u"Phone", None)) self.phoneVersionLbl.setText(QCoreApplication.translate("Nugget", u"Version", None)) self.bigNuggetBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) @@ -2695,8 +2773,9 @@ class Ui_Nugget(object): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.1 (beta 2)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) + self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) self.dynamicIslandDrp.setItemText(1, QCoreApplication.translate("Nugget", u"2436 (iPhone X Gestures for SE phones)", None)) @@ -2725,10 +2804,11 @@ class Ui_Nugget(object): self.internalInstallChk.setText(QCoreApplication.translate("Nugget", u"Set as Apple Internal Install (ie Metal HUD in any app)", None)) self.internalStorageChk.setText(QCoreApplication.translate("Nugget", u"Enable Internal Storage (WARNING: risky for some devices, mainly iPads)", None)) self.collisionSOSChk.setText(QCoreApplication.translate("Nugget", u"Enable Collision SOS", None)) - self.sleepApneaChk.setText(QCoreApplication.translate("Nugget", u"Enable Sleep Apnea (real) [for Apple Watches]", None)) self.aodChk.setText(QCoreApplication.translate("Nugget", u"Enable Always On Display", None)) self.label_10.setText(QCoreApplication.translate("Nugget", u"Custom Gestalt Keys", None)) self.addGestaltKeyBtn.setText(QCoreApplication.translate("Nugget", u" Add Key", None)) + self.label_12.setText(QCoreApplication.translate("Nugget", u"Warning: Using this feature incorrectly can lead to bootloops and data loss. Only use if you know\n" +"what you are doing.", None)) self.internalOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Feature Flags", None)) self.clockAnimChk.setText(QCoreApplication.translate("Nugget", u"Enable Lockscreen Clock Animation", None)) self.lockscreenChk.setText(QCoreApplication.translate("Nugget", u"Enable Duplicate Lockscreen Button and Lockscreen Quickswitch", None)) @@ -2742,22 +2822,49 @@ class Ui_Nugget(object): self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) + self.mgaWarningLbl2.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None)) self.enableAIChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence (for Unsupported Devices)", None)) + self.eligFileChk.setText(QCoreApplication.translate("Nugget", u"Enable Eligibility File (test)", None)) + self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n" -"you revert.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break\n" +"Face ID until you revert back.\n" "\n" -"Once the model has downloaded, set \"Spoofed Device Model\" to \"None\" and click the \"Apply Tweaks\"\n" -"button on the \"Apply\" page again to fix Face ID.", None)) +"CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" +"Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" +"require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the\n" +"iPhone 15 Pro series. You've have been warned!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) - self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) - self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone16,2 (iPhone 15 Pro)", None)) - self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone17,3 (iPhone 16 Pro)", None)) - self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone17,4 (iPhone 16 Pro Max)", None)) - self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPad16,3 (iPad Pro M4)", None)) + self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) + self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) + self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone 15 Pro Max (iPhone16,2)", None)) + self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone 16 (iPhone17,3)", None)) + self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPhone 16 Plus (iPhone17,4)", None)) + self.spoofedModelDrp.setItemText(5, QCoreApplication.translate("Nugget", u"iPhone 16 Pro (iPhone17,1)", None)) + self.spoofedModelDrp.setItemText(6, QCoreApplication.translate("Nugget", u"iPhone 16 Pro Max (iPhone17,2)", None)) + self.spoofedModelDrp.setItemText(7, QCoreApplication.translate("Nugget", u"iPad Mini (A17 Pro) (W) (iPad16,1)", None)) + self.spoofedModelDrp.setItemText(8, QCoreApplication.translate("Nugget", u"iPad Mini (A17 Pro) (C) (iPad16,2)", None)) + self.spoofedModelDrp.setItemText(9, QCoreApplication.translate("Nugget", u"iPad Pro (13-inch) (M4) (W) (iPad16,5)", None)) + self.spoofedModelDrp.setItemText(10, QCoreApplication.translate("Nugget", u"iPad Pro (13-inch) (M4) (C) (iPad16,6)", None)) + self.spoofedModelDrp.setItemText(11, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M4) (W) (iPad16,3)", None)) + self.spoofedModelDrp.setItemText(12, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M4) (C) (iPad16,4)", None)) + self.spoofedModelDrp.setItemText(13, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M2) (W) (iPad14,5)", None)) + self.spoofedModelDrp.setItemText(14, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M2) (C) (iPad14,6)", None)) + self.spoofedModelDrp.setItemText(15, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M2) (W) (iPad14,3)", None)) + self.spoofedModelDrp.setItemText(16, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M2) (C) (iPad14,4)", None)) + self.spoofedModelDrp.setItemText(17, QCoreApplication.translate("Nugget", u"iPad Air (13-inch) (M2) (W) (iPad14,10)", None)) + self.spoofedModelDrp.setItemText(18, QCoreApplication.translate("Nugget", u"iPad Air (13-inch) (M2) (C) (iPad14,11)", None)) + self.spoofedModelDrp.setItemText(19, QCoreApplication.translate("Nugget", u"iPad Air (11-inch) (M2) (W) (iPad14,8)", None)) + self.spoofedModelDrp.setItemText(20, QCoreApplication.translate("Nugget", u"iPad Air (11-inch) (M2) (C) (iPad14,9)", None)) + self.spoofedModelDrp.setItemText(21, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M1) (W) (iPad13,4)", None)) + self.spoofedModelDrp.setItemText(22, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M1) (C) (iPad13,5)", None)) + self.spoofedModelDrp.setItemText(23, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M1) (W) (iPad13,8)", None)) + self.spoofedModelDrp.setItemText(24, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M1) (C) (iPad13,9)", None)) + self.spoofedModelDrp.setItemText(25, QCoreApplication.translate("Nugget", u"iPad Air (M1) (W) (iPad13,16)", None)) + self.spoofedModelDrp.setItemText(26, QCoreApplication.translate("Nugget", u"iPad Air (M1) (C) (iPad13,17)", None)) - self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None)) + self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"Original", None)) self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) @@ -2793,7 +2900,11 @@ class Ui_Nugget(object): self.resetGestaltBtn.setText(QCoreApplication.translate("Nugget", u"Reset Mobile Gestalt", None)) self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) - self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup (non-exploit files only)", None)) + self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) + self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) + self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) + self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) + self.label_15.setText(QCoreApplication.translate("Nugget", u"* Note: Skip Setup may cause issues with configuration profiles. Turn it off if you need that.", None)) self.resetPairBtn.setText(QCoreApplication.translate("Nugget", u"Reset Device Pairing", None)) self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) self.label_4.setText("") diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index 734c947..d118468 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -1722,7 +1722,7 @@ QToolButton:pressed { - ! Your device's mobilegestalt file is required for this feature. Select it on the apply page. + ! You will need a MobileGestalt file for this feature. Please select it in the Apply page ! @@ -2673,7 +2673,7 @@ QComboBox QAbstractItemView::item:hover { - ! Your device's mobilegestalt file is required for this feature. Select it on the apply page. + ! You will need a MobileGestalt file for this feature. Please select it in the Apply page ! @@ -2751,12 +2751,13 @@ QComboBox QAbstractItemView::item:hover { - In order to download the AI model, you must spoof the device model. This will break Face ID until -you revert. + In order to download the AI models, you must spoof your device model. However, this may break +Face ID until you revert back. -Once the model has downloaded, turn off "Apple Intelligence" in Settings then set -"Spoofed Device Model" to "None" and click the "Apply Tweaks" button on the "Apply" page -again to fix Face ID. +CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the +Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will +require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the +iPhone 15 Pro series. You've have been warned! Qt::AutoText @@ -2813,49 +2814,144 @@ QComboBox QAbstractItemView::item:hover { } - None + Original 0 - None + Original - iPhone16,1 (iPhone 15 Pro) + iPhone 15 Pro (iPhone16,1) - iPhone16,2 (iPhone 15 Pro Max) + iPhone 15 Pro Max (iPhone16,2) - iPhone17,3 (iPhone 16) + iPhone 16 (iPhone17,3) - iPhone17,4 (iPhone 16 Plus) + iPhone 16 Plus (iPhone17,4) - iPhone17,1 (iPhone 16 Pro) + iPhone 16 Pro (iPhone17,1) - iPhone17,2 (iPhone 16 Pro Max) + iPhone 16 Pro Max (iPhone17,2) - iPad16,3 (iPad Pro M4) + iPad Mini (A17 Pro) (W) (iPad16,1) + + + + + iPad Mini (A17 Pro) (C) (iPad16,2) + + + + + iPad Pro (13-inch) (M4) (W) (iPad16,5) + + + + + iPad Pro (13-inch) (M4) (C) (iPad16,6) + + + + + iPad Pro (11-inch) (M4) (W) (iPad16,3) + + + + + iPad Pro (11-inch) (M4) (C) (iPad16,4) + + + + + iPad Pro (12.9-inch) (M2) (W) (iPad14,5) + + + + + iPad Pro (12.9-inch) (M2) (C) (iPad14,6) + + + + + iPad Pro (11-inch) (M2) (W) (iPad14,3) + + + + + iPad Pro (11-inch) (M2) (C) (iPad14,4) + + + + + iPad Air (13-inch) (M2) (W) (iPad14,10) + + + + + iPad Air (13-inch) (M2) (C) (iPad14,11) + + + + + iPad Air (11-inch) (M2) (W) (iPad14,8) + + + + + iPad Air (11-inch) (M2) (C) (iPad14,9) + + + + + iPad Pro (11-inch) (M1) (W) (iPad13,4) + + + + + iPad Pro (11-inch) (M1) (C) (iPad13,5) + + + + + iPad Pro (12.9-inch) (M1) (W) (iPad13,8) + + + + + iPad Pro (12.9-inch) (M1) (C) (iPad13,9) + + + + + iPad Air (M1) (W) (iPad13,16) + + + + + iPad Air (M1) (C) (iPad13,17) @@ -3974,6 +4070,23 @@ QComboBox QAbstractItemView::item:hover { + + + + Enable Supervision * (requires Skip Setup) + + + true + + + + + + + Enter Organization Name + + + diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index e69221b..9aee70d 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -3,7 +3,7 @@ ################################################################################ ## Form generated from reading UI file 'mainwindow.ui' ## -## Created by: Qt User Interface Compiler version 6.6.3 +## Created by: Qt User Interface Compiler version 6.8.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ @@ -190,7 +190,7 @@ class Ui_Nugget(object): " border-bottom-right-radius: 0px;\n" "}") icon = QIcon() - icon.addFile(u":/icon/phone.svg", QSize(), QIcon.Normal, QIcon.Off) + icon.addFile(u":/icon/phone.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.toolButton_6.setIcon(icon) self.horizontalLayout_15.addWidget(self.toolButton_6) @@ -244,7 +244,7 @@ class Ui_Nugget(object): " border-radius: 0px;\n" "}") icon1 = QIcon() - icon1.addFile(u":/icon/arrow-clockwise.svg", QSize(), QIcon.Normal, QIcon.Off) + icon1.addFile(u":/icon/arrow-clockwise.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.refreshBtn.setIcon(icon1) self.refreshBtn.setCheckable(False) self.refreshBtn.setToolButtonStyle(Qt.ToolButtonIconOnly) @@ -297,7 +297,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.homePageBtn.sizePolicy().hasHeightForWidth()) self.homePageBtn.setSizePolicy(sizePolicy2) icon2 = QIcon() - icon2.addFile(u":/icon/house.svg", QSize(), QIcon.Normal, QIcon.Off) + icon2.addFile(u":/icon/house.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.homePageBtn.setIcon(icon2) self.homePageBtn.setCheckable(True) self.homePageBtn.setChecked(True) @@ -312,7 +312,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.explorePageBtn.sizePolicy().hasHeightForWidth()) self.explorePageBtn.setSizePolicy(sizePolicy2) icon3 = QIcon() - icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Normal, QIcon.Off) + icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.explorePageBtn.setIcon(icon3) self.explorePageBtn.setCheckable(True) self.explorePageBtn.setAutoExclusive(True) @@ -325,7 +325,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.locSimPageBtn.sizePolicy().hasHeightForWidth()) self.locSimPageBtn.setSizePolicy(sizePolicy2) icon4 = QIcon() - icon4.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Normal, QIcon.Off) + icon4.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.locSimPageBtn.setIcon(icon4) self.locSimPageBtn.setCheckable(True) self.locSimPageBtn.setAutoExclusive(True) @@ -339,7 +339,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.sidebarDiv1.setFrameShadow(QFrame.Plain) - self.sidebarDiv1.setFrameShape(QFrame.HLine) + self.sidebarDiv1.setFrameShape(QFrame.Shape.HLine) self.verticalLayout.addWidget(self.sidebarDiv1) @@ -348,7 +348,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth()) self.gestaltPageBtn.setSizePolicy(sizePolicy2) icon5 = QIcon() - icon5.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off) + icon5.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.gestaltPageBtn.setIcon(icon5) self.gestaltPageBtn.setIconSize(QSize(24, 28)) self.gestaltPageBtn.setCheckable(True) @@ -366,7 +366,7 @@ class Ui_Nugget(object): font.setFamilies([u".AppleSystemUIFont"]) self.featureFlagsPageBtn.setFont(font) icon6 = QIcon() - icon6.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off) + icon6.addFile(u":/icon/flag.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.featureFlagsPageBtn.setIcon(icon6) self.featureFlagsPageBtn.setCheckable(True) self.featureFlagsPageBtn.setAutoExclusive(True) @@ -390,7 +390,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth()) self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2) icon7 = QIcon() - icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off) + icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.springboardOptionsPageBtn.setIcon(icon7) self.springboardOptionsPageBtn.setCheckable(True) self.springboardOptionsPageBtn.setAutoExclusive(True) @@ -403,7 +403,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth()) self.internalOptionsPageBtn.setSizePolicy(sizePolicy2) icon8 = QIcon() - icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Normal, QIcon.Off) + icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.internalOptionsPageBtn.setIcon(icon8) self.internalOptionsPageBtn.setCheckable(True) self.internalOptionsPageBtn.setAutoExclusive(True) @@ -417,7 +417,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.sidebarDiv2.setFrameShadow(QFrame.Plain) - self.sidebarDiv2.setFrameShape(QFrame.HLine) + self.sidebarDiv2.setFrameShape(QFrame.Shape.HLine) self.verticalLayout.addWidget(self.sidebarDiv2) @@ -426,7 +426,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.applyPageBtn.sizePolicy().hasHeightForWidth()) self.applyPageBtn.setSizePolicy(sizePolicy2) icon9 = QIcon() - icon9.addFile(u":/icon/check-circle.svg", QSize(), QIcon.Normal, QIcon.Off) + icon9.addFile(u":/icon/check-circle.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.applyPageBtn.setIcon(icon9) self.applyPageBtn.setCheckable(True) self.applyPageBtn.setAutoExclusive(True) @@ -439,7 +439,7 @@ class Ui_Nugget(object): sizePolicy2.setHeightForWidth(self.settingsPageBtn.sizePolicy().hasHeightForWidth()) self.settingsPageBtn.setSizePolicy(sizePolicy2) icon10 = QIcon() - icon10.addFile(u":/icon/gear.svg", QSize(), QIcon.Normal, QIcon.Off) + icon10.addFile(u":/icon/gear.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.settingsPageBtn.setIcon(icon10) self.settingsPageBtn.setCheckable(True) self.settingsPageBtn.setAutoExclusive(True) @@ -509,7 +509,7 @@ class Ui_Nugget(object): self.phoneVersionLbl = QLabel(self.verticalWidget) self.phoneVersionLbl.setObjectName(u"phoneVersionLbl") - self.phoneVersionLbl.setCursor(QCursor(Qt.PointingHandCursor)) + self.phoneVersionLbl.setCursor(QCursor(Qt.CursorShape.PointingHandCursor)) self.phoneVersionLbl.setTextFormat(Qt.RichText) self.phoneVersionLbl.setOpenExternalLinks(False) @@ -531,7 +531,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_4.setFrameShadow(QFrame.Plain) - self.line_4.setFrameShape(QFrame.HLine) + self.line_4.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_2.addWidget(self.line_4) @@ -552,7 +552,7 @@ class Ui_Nugget(object): " padding: 0px;\n" "}") icon11 = QIcon() - icon11.addFile(u":/credits/big_nugget.png", QSize(), QIcon.Normal, QIcon.Off) + icon11.addFile(u":/credits/big_nugget.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.bigNuggetBtn.setIcon(icon11) self.bigNuggetBtn.setIconSize(QSize(150, 200)) @@ -589,7 +589,7 @@ class Ui_Nugget(object): self.discordBtn = QToolButton(self.verticalWidget1) self.discordBtn.setObjectName(u"discordBtn") icon12 = QIcon() - icon12.addFile(u":/icon/discord.svg", QSize(), QIcon.Normal, QIcon.Off) + icon12.addFile(u":/icon/discord.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.discordBtn.setIcon(icon12) self.discordBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -598,7 +598,7 @@ class Ui_Nugget(object): self.starOnGithubBtn = QToolButton(self.verticalWidget1) self.starOnGithubBtn.setObjectName(u"starOnGithubBtn") icon13 = QIcon() - icon13.addFile(u":/icon/star.svg", QSize(), QIcon.Normal, QIcon.Off) + icon13.addFile(u":/icon/star.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.starOnGithubBtn.setIcon(icon13) self.starOnGithubBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -642,7 +642,7 @@ class Ui_Nugget(object): " background: none;\n" "}") icon14 = QIcon() - icon14.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Normal, QIcon.Off) + icon14.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminBtn.setIcon(icon14) self.leminBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -662,7 +662,7 @@ class Ui_Nugget(object): " color: #FFFFFF;\n" "}") icon15 = QIcon() - icon15.addFile(u":/icon/twitter.svg", QSize(), QIcon.Normal, QIcon.Off) + icon15.addFile(u":/icon/twitter.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminTwitterBtn.setIcon(icon15) self.horizontalLayout_6.addWidget(self.leminTwitterBtn) @@ -681,7 +681,7 @@ class Ui_Nugget(object): " color: #FFFFFF;\n" "}") icon16 = QIcon() - icon16.addFile(u":/icon/github.svg", QSize(), QIcon.Normal, QIcon.Off) + icon16.addFile(u":/icon/github.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminGithubBtn.setIcon(icon16) self.horizontalLayout_6.addWidget(self.leminGithubBtn) @@ -701,7 +701,7 @@ class Ui_Nugget(object): " color: #FFFFFF;\n" "}") icon17 = QIcon() - icon17.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Normal, QIcon.Off) + icon17.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.leminKoFiBtn.setIcon(icon17) self.horizontalLayout_6.addWidget(self.leminKoFiBtn) @@ -934,7 +934,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_8.setFrameShadow(QFrame.Plain) - self.line_8.setFrameShape(QFrame.HLine) + self.line_8.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_4.addWidget(self.line_8) @@ -1062,7 +1062,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_7.setFrameShadow(QFrame.Plain) - self.line_7.setFrameShape(QFrame.HLine) + self.line_7.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_7) @@ -1107,7 +1107,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_9.setFrameShadow(QFrame.Plain) - self.line_9.setFrameShape(QFrame.HLine) + self.line_9.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_9) @@ -1127,7 +1127,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_10.setFrameShadow(QFrame.Plain) - self.line_10.setFrameShape(QFrame.HLine) + self.line_10.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_10) @@ -1147,7 +1147,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_22.setFrameShadow(QFrame.Plain) - self.line_22.setFrameShape(QFrame.HLine) + self.line_22.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_22) @@ -1164,7 +1164,7 @@ class Ui_Nugget(object): self.addGestaltKeyBtn.setObjectName(u"addGestaltKeyBtn") self.addGestaltKeyBtn.setEnabled(True) icon18 = QIcon() - icon18.addFile(u":/icon/plus.svg", QSize(), QIcon.Normal, QIcon.Off) + icon18.addFile(u":/icon/plus.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.addGestaltKeyBtn.setIcon(icon18) self.addGestaltKeyBtn.setCheckable(False) self.addGestaltKeyBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -1185,7 +1185,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_23.setFrameShadow(QFrame.Plain) - self.line_23.setFrameShape(QFrame.HLine) + self.line_23.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_8.addWidget(self.line_23) @@ -1271,7 +1271,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_12.setFrameShadow(QFrame.Plain) - self.line_12.setFrameShape(QFrame.HLine) + self.line_12.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_14.addWidget(self.line_12) @@ -1298,7 +1298,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.div.setFrameShadow(QFrame.Plain) - self.div.setFrameShape(QFrame.HLine) + self.div.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_13.addWidget(self.div) @@ -1377,7 +1377,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_13.setFrameShadow(QFrame.Plain) - self.line_13.setFrameShape(QFrame.HLine) + self.line_13.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_17.addWidget(self.line_13) @@ -1459,7 +1459,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_16.setFrameShadow(QFrame.Plain) - self.line_16.setFrameShape(QFrame.HLine) + self.line_16.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_36.addWidget(self.line_16) @@ -1508,7 +1508,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_21.setFrameShadow(QFrame.Plain) - self.line_21.setFrameShape(QFrame.HLine) + self.line_21.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_34.addWidget(self.line_21) @@ -1534,6 +1534,25 @@ class Ui_Nugget(object): self.spoofedModelDrp.addItem("") self.spoofedModelDrp.addItem("") self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") self.spoofedModelDrp.setObjectName(u"spoofedModelDrp") self.spoofedModelDrp.setMaximumSize(QSize(325, 16777215)) self.spoofedModelDrp.setStyleSheet(u"QComboBox {\n" @@ -1639,7 +1658,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_11.setFrameShadow(QFrame.Plain) - self.line_11.setFrameShape(QFrame.HLine) + self.line_11.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_10.addWidget(self.line_11) @@ -1666,7 +1685,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_6.setFrameShadow(QFrame.Plain) - self.line_6.setFrameShape(QFrame.HLine) + self.line_6.setFrameShape(QFrame.Shape.HLine) self._2.addWidget(self.line_6) @@ -1765,7 +1784,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_121.setFrameShadow(QFrame.Plain) - self.line_121.setFrameShape(QFrame.HLine) + self.line_121.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_141.addWidget(self.line_121) @@ -1792,7 +1811,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.div1.setFrameShadow(QFrame.Plain) - self.div1.setFrameShape(QFrame.HLine) + self.div1.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.div1) @@ -1827,7 +1846,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_17.setFrameShadow(QFrame.Plain) - self.line_17.setFrameShape(QFrame.HLine) + self.line_17.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.line_17) @@ -1847,7 +1866,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_18.setFrameShadow(QFrame.Plain) - self.line_18.setFrameShape(QFrame.HLine) + self.line_18.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.line_18) @@ -1872,7 +1891,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_19.setFrameShadow(QFrame.Plain) - self.line_19.setFrameShape(QFrame.HLine) + self.line_19.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_131.addWidget(self.line_19) @@ -1957,7 +1976,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_5.setFrameShadow(QFrame.Plain) - self.line_5.setFrameShape(QFrame.HLine) + self.line_5.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_24.addWidget(self.line_5) @@ -1983,7 +2002,7 @@ class Ui_Nugget(object): self.chooseGestaltBtn = QToolButton(self.verticalWidget2) self.chooseGestaltBtn.setObjectName(u"chooseGestaltBtn") icon19 = QIcon() - icon19.addFile(u":/icon/folder.svg", QSize(), QIcon.Normal, QIcon.Off) + icon19.addFile(u":/icon/folder.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.chooseGestaltBtn.setIcon(icon19) self.chooseGestaltBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -2114,7 +2133,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_111.setFrameShadow(QFrame.Plain) - self.line_111.setFrameShape(QFrame.HLine) + self.line_111.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_101.addWidget(self.line_111) @@ -2143,6 +2162,17 @@ class Ui_Nugget(object): self._21.addWidget(self.autoRebootChk) + self.supervisionChk = QCheckBox(self.settingsPageContent) + self.supervisionChk.setObjectName(u"supervisionChk") + self.supervisionChk.setChecked(True) + + self._21.addWidget(self.supervisionChk) + + self.supervisionOrganization = QLineEdit(self.settingsPageContent) + self.supervisionOrganization.setObjectName(u"supervisionOrganization") + + self._21.addWidget(self.supervisionOrganization) + self.verticalSpacer_21 = QSpacerItem(20, 10, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) self._21.addItem(self.verticalSpacer_21) @@ -2158,7 +2188,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_20.setFrameShadow(QFrame.Plain) - self.line_20.setFrameShape(QFrame.HLine) + self.line_20.setFrameShape(QFrame.Shape.HLine) self._21.addWidget(self.line_20) @@ -2244,7 +2274,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_2.setFrameShadow(QFrame.Plain) - self.line_2.setFrameShape(QFrame.HLine) + self.line_2.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_28.addWidget(self.line_2) @@ -2345,7 +2375,7 @@ class Ui_Nugget(object): " border-radius: 0px;\n" "}") icon20 = QIcon() - icon20.addFile(u":/icon/pencil.svg", QSize(), QIcon.Normal, QIcon.Off) + icon20.addFile(u":/icon/pencil.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.toolButton_12.setIcon(icon20) self.toolButton_12.setIconSize(QSize(25, 25)) @@ -2384,7 +2414,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_14.setFrameShadow(QFrame.Plain) - self.line_14.setFrameShape(QFrame.HLine) + self.line_14.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_20.addWidget(self.line_14) @@ -2408,7 +2438,7 @@ class Ui_Nugget(object): self.importOperationBtn.setObjectName(u"importOperationBtn") self.importOperationBtn.setEnabled(True) icon21 = QIcon() - icon21.addFile(u":/icon/import.svg", QSize(), QIcon.Normal, QIcon.Off) + icon21.addFile(u":/icon/import.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.importOperationBtn.setIcon(icon21) self.importOperationBtn.setIconSize(QSize(20, 20)) self.importOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -2505,7 +2535,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_3.setFrameShadow(QFrame.Plain) - self.line_3.setFrameShape(QFrame.HLine) + self.line_3.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_31.addWidget(self.line_3) @@ -2585,7 +2615,7 @@ class Ui_Nugget(object): self.importThemeZipBtn = QToolButton(self.horizontalWidget7) self.importThemeZipBtn.setObjectName(u"importThemeZipBtn") icon22 = QIcon() - icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off) + icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) self.importThemeZipBtn.setIcon(icon22) self.horizontalLayout_26.addWidget(self.importThemeZipBtn) @@ -2602,7 +2632,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line_15.setFrameShadow(QFrame.Plain) - self.line_15.setFrameShape(QFrame.HLine) + self.line_15.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_23.addWidget(self.line_15) @@ -2623,7 +2653,7 @@ class Ui_Nugget(object): " color: #414141;\n" "}") self.line.setFrameShadow(QFrame.Plain) - self.line.setFrameShape(QFrame.HLine) + self.line.setFrameShape(QFrame.Shape.HLine) self.verticalLayout_22.addWidget(self.line) @@ -2698,30 +2728,30 @@ class Ui_Nugget(object): def retranslateUi(self, Nugget): Nugget.setWindowTitle(QCoreApplication.translate("Nugget", u"Nugget", None)) - self.centralwidget.setProperty("cls", QCoreApplication.translate("Nugget", u"central", None)) + self.centralwidget.setProperty(u"cls", QCoreApplication.translate("Nugget", u"central", None)) self.devicePicker.setPlaceholderText(QCoreApplication.translate("Nugget", u"None", None)) - self.refreshBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"btn", None)) + self.refreshBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"btn", None)) self.titleBar.setText(QCoreApplication.translate("Nugget", u"Nugget", None)) self.homePageBtn.setText(QCoreApplication.translate("Nugget", u" Home", None)) - self.homePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.homePageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.explorePageBtn.setText(QCoreApplication.translate("Nugget", u" Explore", None)) - self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.explorePageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.locSimPageBtn.setText(QCoreApplication.translate("Nugget", u" Location Simulation", None)) - self.locSimPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.locSimPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None)) - self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.gestaltPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) - self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.featureFlagsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" Eligibility", None)) - self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.euEnablerPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) - self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.springboardOptionsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None)) - self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.internalOptionsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None)) - self.applyPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.applyPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.settingsPageBtn.setText(QCoreApplication.translate("Nugget", u" Settings", None)) - self.settingsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.settingsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.phoneNameLbl.setText(QCoreApplication.translate("Nugget", u"Phone", None)) self.phoneVersionLbl.setText(QCoreApplication.translate("Nugget", u"Version", None)) self.bigNuggetBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) @@ -2745,7 +2775,7 @@ class Ui_Nugget(object): self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) - self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! Your device's mobilegestalt file is required for this feature. Select it on the apply page.", None)) + self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) self.dynamicIslandDrp.setItemText(1, QCoreApplication.translate("Nugget", u"2436 (iPhone X Gestures for SE phones)", None)) @@ -2792,29 +2822,49 @@ class Ui_Nugget(object): self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) - self.mgaWarningLbl2.setText(QCoreApplication.translate("Nugget", u"! Your device's mobilegestalt file is required for this feature. Select it on the apply page.", None)) + self.mgaWarningLbl2.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None)) self.enableAIChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence (for Unsupported Devices)", None)) self.eligFileChk.setText(QCoreApplication.translate("Nugget", u"Enable Eligibility File (test)", None)) self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n" -"you revert.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break\n" +"Face ID until you revert back.\n" "\n" -"Once the model has downloaded, turn off \"Apple Intelligence\" in Settings then set\n" -"\"Spoofed Device Model\" to \"None\" and click the \"Apply Tweaks\" button on the \"Apply\" page\n" -"again to fix Face ID.", None)) +"CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" +"Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" +"require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the\n" +"iPhone 15 Pro series. You've have been warned!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) - self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) - self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone16,1 (iPhone 15 Pro)", None)) - self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone16,2 (iPhone 15 Pro Max)", None)) - self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone17,3 (iPhone 16)", None)) - self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPhone17,4 (iPhone 16 Plus)", None)) - self.spoofedModelDrp.setItemText(5, QCoreApplication.translate("Nugget", u"iPhone17,1 (iPhone 16 Pro)", None)) - self.spoofedModelDrp.setItemText(6, QCoreApplication.translate("Nugget", u"iPhone17,2 (iPhone 16 Pro Max)", None)) - self.spoofedModelDrp.setItemText(7, QCoreApplication.translate("Nugget", u"iPad16,3 (iPad Pro M4)", None)) + self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) + self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) + self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone 15 Pro Max (iPhone16,2)", None)) + self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone 16 (iPhone17,3)", None)) + self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPhone 16 Plus (iPhone17,4)", None)) + self.spoofedModelDrp.setItemText(5, QCoreApplication.translate("Nugget", u"iPhone 16 Pro (iPhone17,1)", None)) + self.spoofedModelDrp.setItemText(6, QCoreApplication.translate("Nugget", u"iPhone 16 Pro Max (iPhone17,2)", None)) + self.spoofedModelDrp.setItemText(7, QCoreApplication.translate("Nugget", u"iPad Mini (A17 Pro) (W) (iPad16,1)", None)) + self.spoofedModelDrp.setItemText(8, QCoreApplication.translate("Nugget", u"iPad Mini (A17 Pro) (C) (iPad16,2)", None)) + self.spoofedModelDrp.setItemText(9, QCoreApplication.translate("Nugget", u"iPad Pro (13-inch) (M4) (W) (iPad16,5)", None)) + self.spoofedModelDrp.setItemText(10, QCoreApplication.translate("Nugget", u"iPad Pro (13-inch) (M4) (C) (iPad16,6)", None)) + self.spoofedModelDrp.setItemText(11, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M4) (W) (iPad16,3)", None)) + self.spoofedModelDrp.setItemText(12, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M4) (C) (iPad16,4)", None)) + self.spoofedModelDrp.setItemText(13, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M2) (W) (iPad14,5)", None)) + self.spoofedModelDrp.setItemText(14, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M2) (C) (iPad14,6)", None)) + self.spoofedModelDrp.setItemText(15, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M2) (W) (iPad14,3)", None)) + self.spoofedModelDrp.setItemText(16, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M2) (C) (iPad14,4)", None)) + self.spoofedModelDrp.setItemText(17, QCoreApplication.translate("Nugget", u"iPad Air (13-inch) (M2) (W) (iPad14,10)", None)) + self.spoofedModelDrp.setItemText(18, QCoreApplication.translate("Nugget", u"iPad Air (13-inch) (M2) (C) (iPad14,11)", None)) + self.spoofedModelDrp.setItemText(19, QCoreApplication.translate("Nugget", u"iPad Air (11-inch) (M2) (W) (iPad14,8)", None)) + self.spoofedModelDrp.setItemText(20, QCoreApplication.translate("Nugget", u"iPad Air (11-inch) (M2) (C) (iPad14,9)", None)) + self.spoofedModelDrp.setItemText(21, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M1) (W) (iPad13,4)", None)) + self.spoofedModelDrp.setItemText(22, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M1) (C) (iPad13,5)", None)) + self.spoofedModelDrp.setItemText(23, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M1) (W) (iPad13,8)", None)) + self.spoofedModelDrp.setItemText(24, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M1) (C) (iPad13,9)", None)) + self.spoofedModelDrp.setItemText(25, QCoreApplication.translate("Nugget", u"iPad Air (M1) (W) (iPad13,16)", None)) + self.spoofedModelDrp.setItemText(26, QCoreApplication.translate("Nugget", u"iPad Air (M1) (C) (iPad13,17)", None)) - self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None)) + self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"Original", None)) self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) @@ -2852,6 +2902,8 @@ class Ui_Nugget(object): self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) + self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) + self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) self.label_15.setText(QCoreApplication.translate("Nugget", u"* Note: Skip Setup may cause issues with configuration profiles. Turn it off if you need that.", None)) self.resetPairBtn.setText(QCoreApplication.translate("Nugget", u"Reset Device Pairing", None)) self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 5abf8ca..9aee70d 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -3,7 +3,7 @@ ################################################################################ ## Form generated from reading UI file 'mainwindow.ui' ## -## Created by: Qt User Interface Compiler version 6.7.2 +## Created by: Qt User Interface Compiler version 6.8.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ @@ -1534,6 +1534,25 @@ class Ui_Nugget(object): self.spoofedModelDrp.addItem("") self.spoofedModelDrp.addItem("") self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") + self.spoofedModelDrp.addItem("") self.spoofedModelDrp.setObjectName(u"spoofedModelDrp") self.spoofedModelDrp.setMaximumSize(QSize(325, 16777215)) self.spoofedModelDrp.setStyleSheet(u"QComboBox {\n" @@ -2143,6 +2162,17 @@ class Ui_Nugget(object): self._21.addWidget(self.autoRebootChk) + self.supervisionChk = QCheckBox(self.settingsPageContent) + self.supervisionChk.setObjectName(u"supervisionChk") + self.supervisionChk.setChecked(True) + + self._21.addWidget(self.supervisionChk) + + self.supervisionOrganization = QLineEdit(self.settingsPageContent) + self.supervisionOrganization.setObjectName(u"supervisionOrganization") + + self._21.addWidget(self.supervisionOrganization) + self.verticalSpacer_21 = QSpacerItem(20, 10, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) self._21.addItem(self.verticalSpacer_21) @@ -2698,30 +2728,30 @@ class Ui_Nugget(object): def retranslateUi(self, Nugget): Nugget.setWindowTitle(QCoreApplication.translate("Nugget", u"Nugget", None)) - self.centralwidget.setProperty("cls", QCoreApplication.translate("Nugget", u"central", None)) + self.centralwidget.setProperty(u"cls", QCoreApplication.translate("Nugget", u"central", None)) self.devicePicker.setPlaceholderText(QCoreApplication.translate("Nugget", u"None", None)) - self.refreshBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"btn", None)) + self.refreshBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"btn", None)) self.titleBar.setText(QCoreApplication.translate("Nugget", u"Nugget", None)) self.homePageBtn.setText(QCoreApplication.translate("Nugget", u" Home", None)) - self.homePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.homePageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.explorePageBtn.setText(QCoreApplication.translate("Nugget", u" Explore", None)) - self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.explorePageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.locSimPageBtn.setText(QCoreApplication.translate("Nugget", u" Location Simulation", None)) - self.locSimPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.locSimPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None)) - self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.gestaltPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) - self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.featureFlagsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" Eligibility", None)) - self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.euEnablerPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) - self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.springboardOptionsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None)) - self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.internalOptionsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None)) - self.applyPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.applyPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.settingsPageBtn.setText(QCoreApplication.translate("Nugget", u" Settings", None)) - self.settingsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.settingsPageBtn.setProperty(u"cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.phoneNameLbl.setText(QCoreApplication.translate("Nugget", u"Phone", None)) self.phoneVersionLbl.setText(QCoreApplication.translate("Nugget", u"Version", None)) self.bigNuggetBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) @@ -2745,7 +2775,7 @@ class Ui_Nugget(object): self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) - self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! Your device's mobilegestalt file is required for this feature. Select it on the apply page.", None)) + self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) self.dynamicIslandDrp.setItemText(1, QCoreApplication.translate("Nugget", u"2436 (iPhone X Gestures for SE phones)", None)) @@ -2792,29 +2822,49 @@ class Ui_Nugget(object): self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) - self.mgaWarningLbl2.setText(QCoreApplication.translate("Nugget", u"! Your device's mobilegestalt file is required for this feature. Select it on the apply page.", None)) + self.mgaWarningLbl2.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None)) self.enableAIChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence (for Unsupported Devices)", None)) self.eligFileChk.setText(QCoreApplication.translate("Nugget", u"Enable Eligibility File (test)", None)) self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n" -"you revert.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break\n" +"Face ID until you revert back.\n" "\n" -"Once the model has downloaded, turn off \"Apple Intelligence\" in Settings then set\n" -"\"Spoofed Device Model\" to \"None\" and click the \"Apply Tweaks\" button on the \"Apply\" page\n" -"again to fix Face ID.", None)) +"CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" +"Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" +"require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the\n" +"iPhone 15 Pro series. You've have been warned!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) - self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) - self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone16,1 (iPhone 15 Pro)", None)) - self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone16,2 (iPhone 15 Pro Max)", None)) - self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone17,3 (iPhone 16)", None)) - self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPhone17,4 (iPhone 16 Plus)", None)) - self.spoofedModelDrp.setItemText(5, QCoreApplication.translate("Nugget", u"iPhone17,1 (iPhone 16 Pro)", None)) - self.spoofedModelDrp.setItemText(6, QCoreApplication.translate("Nugget", u"iPhone17,2 (iPhone 16 Pro Max)", None)) - self.spoofedModelDrp.setItemText(7, QCoreApplication.translate("Nugget", u"iPad16,3 (iPad Pro M4)", None)) + self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) + self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) + self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone 15 Pro Max (iPhone16,2)", None)) + self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone 16 (iPhone17,3)", None)) + self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPhone 16 Plus (iPhone17,4)", None)) + self.spoofedModelDrp.setItemText(5, QCoreApplication.translate("Nugget", u"iPhone 16 Pro (iPhone17,1)", None)) + self.spoofedModelDrp.setItemText(6, QCoreApplication.translate("Nugget", u"iPhone 16 Pro Max (iPhone17,2)", None)) + self.spoofedModelDrp.setItemText(7, QCoreApplication.translate("Nugget", u"iPad Mini (A17 Pro) (W) (iPad16,1)", None)) + self.spoofedModelDrp.setItemText(8, QCoreApplication.translate("Nugget", u"iPad Mini (A17 Pro) (C) (iPad16,2)", None)) + self.spoofedModelDrp.setItemText(9, QCoreApplication.translate("Nugget", u"iPad Pro (13-inch) (M4) (W) (iPad16,5)", None)) + self.spoofedModelDrp.setItemText(10, QCoreApplication.translate("Nugget", u"iPad Pro (13-inch) (M4) (C) (iPad16,6)", None)) + self.spoofedModelDrp.setItemText(11, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M4) (W) (iPad16,3)", None)) + self.spoofedModelDrp.setItemText(12, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M4) (C) (iPad16,4)", None)) + self.spoofedModelDrp.setItemText(13, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M2) (W) (iPad14,5)", None)) + self.spoofedModelDrp.setItemText(14, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M2) (C) (iPad14,6)", None)) + self.spoofedModelDrp.setItemText(15, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M2) (W) (iPad14,3)", None)) + self.spoofedModelDrp.setItemText(16, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M2) (C) (iPad14,4)", None)) + self.spoofedModelDrp.setItemText(17, QCoreApplication.translate("Nugget", u"iPad Air (13-inch) (M2) (W) (iPad14,10)", None)) + self.spoofedModelDrp.setItemText(18, QCoreApplication.translate("Nugget", u"iPad Air (13-inch) (M2) (C) (iPad14,11)", None)) + self.spoofedModelDrp.setItemText(19, QCoreApplication.translate("Nugget", u"iPad Air (11-inch) (M2) (W) (iPad14,8)", None)) + self.spoofedModelDrp.setItemText(20, QCoreApplication.translate("Nugget", u"iPad Air (11-inch) (M2) (C) (iPad14,9)", None)) + self.spoofedModelDrp.setItemText(21, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M1) (W) (iPad13,4)", None)) + self.spoofedModelDrp.setItemText(22, QCoreApplication.translate("Nugget", u"iPad Pro (11-inch) (M1) (C) (iPad13,5)", None)) + self.spoofedModelDrp.setItemText(23, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M1) (W) (iPad13,8)", None)) + self.spoofedModelDrp.setItemText(24, QCoreApplication.translate("Nugget", u"iPad Pro (12.9-inch) (M1) (C) (iPad13,9)", None)) + self.spoofedModelDrp.setItemText(25, QCoreApplication.translate("Nugget", u"iPad Air (M1) (W) (iPad13,16)", None)) + self.spoofedModelDrp.setItemText(26, QCoreApplication.translate("Nugget", u"iPad Air (M1) (C) (iPad13,17)", None)) - self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None)) + self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"Original", None)) self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) @@ -2852,6 +2902,8 @@ class Ui_Nugget(object): self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) + self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) + self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) self.label_15.setText(QCoreApplication.translate("Nugget", u"* Note: Skip Setup may cause issues with configuration profiles. Turn it off if you need that.", None)) self.resetPairBtn.setText(QCoreApplication.translate("Nugget", u"Reset Device Pairing", None)) self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 3232620..2e80122 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -43,9 +43,126 @@ tweaks = { "AIEligibility": AITweak(), "AIGestalt": MobileGestaltTweak("Enable Apple Intelligence (for Unsupported Devices) (Gestalt)", "A62OafQ85EJAiiqKn4agtg", min_version=Version("18.1")), "AIExperiment": MobileGestaltTweak("Enable AI Experiment", "I3lidq+FVH2CeOi/ARa0tg", min_version=Version("18.1")), - "SpoofModel": MobileGestaltPickerTweak("Spoofed Device Model", "h9jDsbgj7xIVeIQ8S3/X3Q", values=["Placeholder", "iPhone16,1", "iPhone16,2", "iPhone17,3", "iPhone17,4", "iPhone17,1", "iPhone17,2", "iPad16,3"], min_version=Version("18.1")), - "SpoofHardware": MobileGestaltPickerTweak("Spoof Hardware Model", "oYicEKzVTz4/CxxE05pEgQ", values=["Placeholder", "D83AP", "D84AP", "D47AP", "D48AP", "D93AP", "D94AP", "J717AP"], min_version=Version("18.1")), - "SpoofCPU": MobileGestaltPickerTweak("Spoof CPU Model", "5pYKlGnYYBzGvAlIU8RjEQ", values=["Placeholder", "t8130", "t8140"], min_version=Version("18.1"), divider_below=True), + "SpoofModel": MobileGestaltPickerTweak("Spoofed Device Model", "h9jDsbgj7xIVeIQ8S3/X3Q", values=[ + # Default + "Placeholder", # 0 | Original + + # iPhone + "iPhone16,1", # 1 | iPhone 15 Pro + "iPhone16,2", # 2 | iPhone 15 Pro Max + "iPhone17,3", # 3 | iPhone 16 + "iPhone17,4", # 4 | iPhone 16 Plus + "iPhone17,1", # 5 | iPhone 16 Pro + "iPhone17,2", # 6 | iPhone 16 Pro Max + + # A17 Pro iPads + "iPad16,1", # 7 | iPad Mini (A17 Pro) (W) + "iPad16,2", # 8 | iPad Mini (A17 Pro) (C) + + # M4 iPads + "iPad16,5", # 9 | iPad Pro (13-inch) (M4) (W) + "iPad16,6", # 10 | iPad Pro (13-inch) (M4) (C) + "iPad16,3", # 11 | iPad Pro (11-inch) (M4) (W) + "iPad16,4", # 12 | iPad Pro (11-inch) (M4) (C) + + # M2 iPads + "iPad14,5", # 13 | iPad Pro (12.9-inch) (M2) (W) + "iPad14,6", # 14 | iPad Pro (12.9-inch) (M2) (C) + "iPad14,3", # 15 | iPad Pro (11-inch) (M2) (W) + "iPad14,4", # 16 | iPad Pro (11-inch) (M2) (C) + "iPad14,10", # 17 | iPad Air (13-inch) (M2) (W) + "iPad14,11", # 18 | iPad Air (13-inch) (M2) (C) + "iPad14,8", # 19 | iPad Air (11-inch) (M2) (W) + "iPad14,9", # 20 | iPad Air (11-inch) (M2) (C) + + # M1 iPads + "iPad13,4", # 21 | iPad Pro (11-inch) (M1) (W) + "iPad13,5", # 22 | iPad Pro (11-inch) (M1) (C) + "iPad13,8", # 23 | iPad Pro (12.9-inch) (M1) (W) + "iPad13,9", # 24 | iPad Pro (12.9-inch) (M1) (C) + "iPad13,16", # 25 | iPad Air (M1) (W) + "iPad13,17", # 26 | iPad Air (M1) (C) + ], min_version=Version("18.1")), + "SpoofHardware": MobileGestaltPickerTweak("Spoof Hardware Model", "oYicEKzVTz4/CxxE05pEgQ", values=[ + # Default + "Placeholder", # 0 | Original + + # iPhone + "D83AP", # 1 | iPhone 15 Pro + "D84AP", # 2 | iPhone 15 Pro Max + "D47AP", # 3 | iPhone 16 + "D48AP", # 4 | iPhone 16 Plus + "D93AP", # 5 | iPhone 16 Pro + "D94AP", # 6 | iPhone 16 Pro Max + + # A17 Pro iPads + "J410AP", # 7 | iPad Mini (A17 Pro) (W) + "J411AP", # 8 | iPad Mini (A17 Pro) (C) + + # M4 iPads + "J720AP", # 9 | iPad Pro (13-inch) (M4) (W) + "J721AP", # 10 | iPad Pro (13-inch) (M4) (C) + "J717AP", # 11 | iPad Pro (11-inch) (M4) (W) + "J718AP", # 12 | iPad Pro (11-inch) (M4) (C) + + # M2 iPads + "J620AP", # 13 | iPad Pro (12.9-inch) (M2) (W) + "J621AP", # 14 | iPad Pro (12.9-inch) (M2) (C) + "J617AP", # 15 | iPad Pro (11-inch) (M2) (W) + "J618AP", # 16 | iPad Pro (11-inch) (M2) (C) + "J537AP", # 17 | iPad Air (13-inch) (M2) (W) + "J538AP", # 18 | iPad Air (13-inch) (M2) (C) + "J507AP", # 19 | iPad Air (11-inch) (M2) (W) + "J508AP", # 20 | iPad Air (11-inch) (M2) (C) + + # M1 iPads + "J517AP", # 21 | iPad Pro (11-inch) (M1) (W) + "J517xAP", # 22 | iPad Pro (11-inch) (M1) (C) + "J522AP", # 23 | iPad Pro (12.9-inch) (M1) (W) + "J522xAP", # 24 | iPad Pro (12.9-inch) (M1) (C) + "J407AP", # 25 | iPad Air (M1) (W) + "J408AP", # 26 | iPad Air (M1) (C) + ], min_version=Version("18.1")), + "SpoofCPU": MobileGestaltPickerTweak("Spoof CPU Model", "5pYKlGnYYBzGvAlIU8RjEQ", values=[ + # Default + "Placeholder", # 0 | Original + + # iPhone + "t8130", # 1 | iPhone 15 Pro + "t8130", # 2 | iPhone 15 Pro Max + "t8140", # 3 | iPhone 16 + "t8140", # 4 | iPhone 16 Plus + "t8140", # 5 | iPhone 16 Pro + "t8140", # 6 | iPhone 16 Pro Max + + # A17 Pro iPads + "t8130", # 7 | iPad Mini (A17 Pro) (W) + "t8130", # 8 | iPad Mini (A17 Pro) (C) + + # M4 iPads + "t8182", # 9 | iPad Pro (13-inch) (M4) (W) + "t8182", # 10 | iPad Pro (13-inch) (M4) (C) + "t8182", # 11 | iPad Pro (11-inch) (M4) (W) + "t8182", # 12 | iPad Pro (11-inch) (M4) (C) + + # M2 iPads + "t8112", # 13 | iPad Pro (12.9-inch) (M2) (W) + "t8112", # 14 | iPad Pro (12.9-inch) (M2) (C) + "t8112", # 15 | iPad Pro (11-inch) (M2) (W) + "t8112", # 16 | iPad Pro (11-inch) (M2) (C) + "t8112", # 17 | iPad Air (13-inch) (M2) (W) + "t8112", # 18 | iPad Air (13-inch) (M2) (C) + "t8112", # 19 | iPad Air (11-inch) (M2) (W) + "t8112", # 20 | iPad Air (11-inch) (M2) (C) + + # M1 iPads + "t8103", # 21 | iPad Pro (11-inch) (M1) (W) + "t8103", # 22 | iPad Pro (11-inch) (M1) (C) + "t8103", # 23 | iPad Pro (12.9-inch) (M1) (W) + "t8103", # 24 | iPad Pro (12.9-inch) (M1) (C) + "t8103", # 25 | iPad Air (M1) (W) + "t8103", # 26 | iPad Air (M1) (C) + ], min_version=Version("18.1"), divider_below=True), ## Springboard Tweaks "LockScreenFootnote": BasicPlistTweak( From 83c556b8c8133739f99e93e51e8ef4bdba2b6b6a Mon Sep 17 00:00:00 2001 From: EfazDev Date: Mon, 28 Oct 2024 20:08:15 -0500 Subject: [PATCH 2/7] fix "until" not visible --- qt/mainwindow_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 9aee70d..d1dcb47 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -2828,8 +2828,8 @@ class Ui_Nugget(object): self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break\n" -"Face ID until you revert back.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. However, this may break Face ID until\n" +"you revert.\n" "\n" "CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" "Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" From e538db7b3806e2cf29a4f1ff5f9475d10c923d46 Mon Sep 17 00:00:00 2001 From: EfazDev Date: Mon, 28 Oct 2024 20:18:29 -0500 Subject: [PATCH 3/7] require skip setup message --- qt/mainwindow_ui.py | 2 ++ qt/ui_mainwindow.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index d1dcb47..7e5ee36 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -2901,6 +2901,8 @@ class Ui_Nugget(object): self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) + self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) + self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 9aee70d..44c5be6 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -2901,6 +2901,8 @@ class Ui_Nugget(object): self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) + self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) + self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) From 9304a3283ede55cc745d17d3682437d6a15a7b95 Mon Sep 17 00:00:00 2001 From: EfazDev Date: Sun, 3 Nov 2024 14:45:01 -0600 Subject: [PATCH 4/7] remove question --- .github/workflows/build.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54ab8d0..556661f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,10 +2,6 @@ name: Build Nugget on: workflow_dispatch: - inputs: - release_version: - description: 'Which version is this release?' - required: true jobs: build-macos-intel: From f65b1bbb64d7a3b53455df0b64b93ed40b59d0f9 Mon Sep 17 00:00:00 2001 From: EfazDev Date: Sun, 3 Nov 2024 15:00:05 -0600 Subject: [PATCH 5/7] fix ui? --- mainwindow_ui.py | 15 +++++++++------ qt/mainwindow.ui | 22 ++++++++++++++++------ qt/mainwindow_ui.py | 17 +++++++++-------- qt/ui_mainwindow.py | 17 +++++++++-------- 4 files changed, 43 insertions(+), 28 deletions(-) diff --git a/mainwindow_ui.py b/mainwindow_ui.py index 9aee70d..3ba2799 100644 --- a/mainwindow_ui.py +++ b/mainwindow_ui.py @@ -1516,7 +1516,9 @@ class Ui_Nugget(object): self.aiInfoLabel.setObjectName(u"aiInfoLabel") sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth()) self.aiInfoLabel.setSizePolicy(sizePolicy1) + self.aiInfoLabel.setMaximumSize(QSize(16777215, 16777215)) self.aiInfoLabel.setTextFormat(Qt.AutoText) + self.aiInfoLabel.setScaledContents(False) self.verticalLayout_34.addWidget(self.aiInfoLabel) @@ -2828,13 +2830,14 @@ class Ui_Nugget(object): self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break\n" -"Face ID until you revert back.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" +"Face ID until you revert back. \n" "\n" -"CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" -"Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" -"require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the\n" -"iPhone 15 Pro series. You've have been warned!", None)) +"CAUTION: If your original device model does not support Apple Intelligence and it was spoofly \n" +"enabled in the settings app, please disable it first before unspoofing! Returning to your original device \n" +"model without disabling is going to cause a re-download and will require a full restore to fix. Also, \n" +"there may be issues if you change between model groups like going from the iPhone 16 series \n" +"to the iPhone 15 Pro series. You've have been warned!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index d118468..94ff529 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -2750,18 +2750,28 @@ QComboBox QAbstractItemView::item:hover { 0 + + + 16777215 + 16777215 + + - In order to download the AI models, you must spoof your device model. However, this may break -Face ID until you revert back. + In order to download the AI models, you must spoof your device model. However, this may break +Face ID until you revert back. -CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the -Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will -require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the -iPhone 15 Pro series. You've have been warned! +CAUTION: If your original device model does not support Apple Intelligence and it was spoofly +enabled in the settings app, please disable it first before unspoofing! Returning to your original device +model without disabling is going to cause a re-download and will require a full restore to fix. Also, +there may be issues if you change between model groups like going from the iPhone 16 series +to the iPhone 15 Pro series. You've have been warned! Qt::AutoText + + false + diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 7e5ee36..3ba2799 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -1516,7 +1516,9 @@ class Ui_Nugget(object): self.aiInfoLabel.setObjectName(u"aiInfoLabel") sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth()) self.aiInfoLabel.setSizePolicy(sizePolicy1) + self.aiInfoLabel.setMaximumSize(QSize(16777215, 16777215)) self.aiInfoLabel.setTextFormat(Qt.AutoText) + self.aiInfoLabel.setScaledContents(False) self.verticalLayout_34.addWidget(self.aiInfoLabel) @@ -2828,13 +2830,14 @@ class Ui_Nugget(object): self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. However, this may break Face ID until\n" -"you revert.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" +"Face ID until you revert back. \n" "\n" -"CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" -"Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" -"require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the\n" -"iPhone 15 Pro series. You've have been warned!", None)) +"CAUTION: If your original device model does not support Apple Intelligence and it was spoofly \n" +"enabled in the settings app, please disable it first before unspoofing! Returning to your original device \n" +"model without disabling is going to cause a re-download and will require a full restore to fix. Also, \n" +"there may be issues if you change between model groups like going from the iPhone 16 series \n" +"to the iPhone 15 Pro series. You've have been warned!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) @@ -2901,8 +2904,6 @@ class Ui_Nugget(object): self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) - self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) - self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 44c5be6..3ba2799 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -1516,7 +1516,9 @@ class Ui_Nugget(object): self.aiInfoLabel.setObjectName(u"aiInfoLabel") sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth()) self.aiInfoLabel.setSizePolicy(sizePolicy1) + self.aiInfoLabel.setMaximumSize(QSize(16777215, 16777215)) self.aiInfoLabel.setTextFormat(Qt.AutoText) + self.aiInfoLabel.setScaledContents(False) self.verticalLayout_34.addWidget(self.aiInfoLabel) @@ -2828,13 +2830,14 @@ class Ui_Nugget(object): self.experimentalChk.setText(QCoreApplication.translate("Nugget", u"Experimental Toggle", None)) self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) - self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break\n" -"Face ID until you revert back.\n" + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" +"Face ID until you revert back. \n" "\n" -"CAUTION: If your original device model does not support Apple Intelligence and it is enabled in the settings, please disable it in the\n" -"Settings app first before unspoofing! Returning to your original device model without disabling is going to cause a re-download and will\n" -"require a full restore to fix. Also, there may be issues if you change between model groups like going from the iPhone 16 series to the\n" -"iPhone 15 Pro series. You've have been warned!", None)) +"CAUTION: If your original device model does not support Apple Intelligence and it was spoofly \n" +"enabled in the settings app, please disable it first before unspoofing! Returning to your original device \n" +"model without disabling is going to cause a re-download and will require a full restore to fix. Also, \n" +"there may be issues if you change between model groups like going from the iPhone 16 series \n" +"to the iPhone 15 Pro series. You've have been warned!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) @@ -2901,8 +2904,6 @@ class Ui_Nugget(object): self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup * (non-exploit files only)", None)) - self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) - self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) self.autoRebootChk.setText(QCoreApplication.translate("Nugget", u"Auto Reboot After Applying", None)) self.supervisionChk.setText(QCoreApplication.translate("Nugget", u"Enable Supervision * (requires Skip Setup)", None)) self.supervisionOrganization.setPlaceholderText(QCoreApplication.translate("Nugget", u"Enter Organization Name", None)) From a9faec583fa84699e2165ae82709d80daeb33364 Mon Sep 17 00:00:00 2001 From: EfazDev Date: Sun, 3 Nov 2024 15:16:21 -0600 Subject: [PATCH 6/7] ui edit again --- mainwindow_ui.py | 10 +++++----- qt/mainwindow.ui | 10 +++++----- qt/mainwindow_ui.py | 10 +++++----- qt/ui_mainwindow.py | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/mainwindow_ui.py b/mainwindow_ui.py index 3ba2799..d90dcd6 100644 --- a/mainwindow_ui.py +++ b/mainwindow_ui.py @@ -2833,11 +2833,11 @@ class Ui_Nugget(object): self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" "Face ID until you revert back. \n" "\n" -"CAUTION: If your original device model does not support Apple Intelligence and it was spoofly \n" -"enabled in the settings app, please disable it first before unspoofing! Returning to your original device \n" -"model without disabling is going to cause a re-download and will require a full restore to fix. Also, \n" -"there may be issues if you change between model groups like going from the iPhone 16 series \n" -"to the iPhone 15 Pro series. You've have been warned!", None)) +"WARNING: If your original device model does not support Apple Intelligence, please disable it the \n" +"AI models before unspoofing! Returning to your original device model without disabling is going to \n" +"cause a re-download and may require a full restore to fix. Furthermore, if you switch between model \n" +"groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. \n" +"Please be careful!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index 94ff529..de0da4a 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -2760,11 +2760,11 @@ QComboBox QAbstractItemView::item:hover { In order to download the AI models, you must spoof your device model. However, this may break Face ID until you revert back. -CAUTION: If your original device model does not support Apple Intelligence and it was spoofly -enabled in the settings app, please disable it first before unspoofing! Returning to your original device -model without disabling is going to cause a re-download and will require a full restore to fix. Also, -there may be issues if you change between model groups like going from the iPhone 16 series -to the iPhone 15 Pro series. You've have been warned! +WARNING: If your original device model does not support Apple Intelligence, please disable it the +AI models before unspoofing! Returning to your original device model without disabling is going to +cause a re-download and may require a full restore to fix. Furthermore, if you switch between model +groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. +Please be careful! Qt::AutoText diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 3ba2799..d90dcd6 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -2833,11 +2833,11 @@ class Ui_Nugget(object): self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" "Face ID until you revert back. \n" "\n" -"CAUTION: If your original device model does not support Apple Intelligence and it was spoofly \n" -"enabled in the settings app, please disable it first before unspoofing! Returning to your original device \n" -"model without disabling is going to cause a re-download and will require a full restore to fix. Also, \n" -"there may be issues if you change between model groups like going from the iPhone 16 series \n" -"to the iPhone 15 Pro series. You've have been warned!", None)) +"WARNING: If your original device model does not support Apple Intelligence, please disable it the \n" +"AI models before unspoofing! Returning to your original device model without disabling is going to \n" +"cause a re-download and may require a full restore to fix. Furthermore, if you switch between model \n" +"groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. \n" +"Please be careful!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 3ba2799..d90dcd6 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -2833,11 +2833,11 @@ class Ui_Nugget(object): self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" "Face ID until you revert back. \n" "\n" -"CAUTION: If your original device model does not support Apple Intelligence and it was spoofly \n" -"enabled in the settings app, please disable it first before unspoofing! Returning to your original device \n" -"model without disabling is going to cause a re-download and will require a full restore to fix. Also, \n" -"there may be issues if you change between model groups like going from the iPhone 16 series \n" -"to the iPhone 15 Pro series. You've have been warned!", None)) +"WARNING: If your original device model does not support Apple Intelligence, please disable it the \n" +"AI models before unspoofing! Returning to your original device model without disabling is going to \n" +"cause a re-download and may require a full restore to fix. Furthermore, if you switch between model \n" +"groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. \n" +"Please be careful!", None)) self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None)) self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Original", None)) self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone 15 Pro (iPhone16,1)", None)) From 0634f7602b5bbfada8fc7f598650423bee239234 Mon Sep 17 00:00:00 2001 From: EfazDev Date: Sun, 3 Nov 2024 15:21:40 -0600 Subject: [PATCH 7/7] againn --- mainwindow_ui.py | 2 +- qt/mainwindow.ui | 2 +- qt/mainwindow_ui.py | 2 +- qt/ui_mainwindow.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mainwindow_ui.py b/mainwindow_ui.py index d90dcd6..6114cc1 100644 --- a/mainwindow_ui.py +++ b/mainwindow_ui.py @@ -2833,7 +2833,7 @@ class Ui_Nugget(object): self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" "Face ID until you revert back. \n" "\n" -"WARNING: If your original device model does not support Apple Intelligence, please disable it the \n" +"WARNING: If your original device model does not support Apple Intelligence, please disable the \n" "AI models before unspoofing! Returning to your original device model without disabling is going to \n" "cause a re-download and may require a full restore to fix. Furthermore, if you switch between model \n" "groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. \n" diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index de0da4a..f839113 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -2760,7 +2760,7 @@ QComboBox QAbstractItemView::item:hover { In order to download the AI models, you must spoof your device model. However, this may break Face ID until you revert back. -WARNING: If your original device model does not support Apple Intelligence, please disable it the +WARNING: If your original device model does not support Apple Intelligence, please disable the AI models before unspoofing! Returning to your original device model without disabling is going to cause a re-download and may require a full restore to fix. Furthermore, if you switch between model groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index d90dcd6..6114cc1 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -2833,7 +2833,7 @@ class Ui_Nugget(object): self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" "Face ID until you revert back. \n" "\n" -"WARNING: If your original device model does not support Apple Intelligence, please disable it the \n" +"WARNING: If your original device model does not support Apple Intelligence, please disable the \n" "AI models before unspoofing! Returning to your original device model without disabling is going to \n" "cause a re-download and may require a full restore to fix. Furthermore, if you switch between model \n" "groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. \n" diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index d90dcd6..6114cc1 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -2833,7 +2833,7 @@ class Ui_Nugget(object): self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI models, you must spoof your device model. However, this may break \n" "Face ID until you revert back. \n" "\n" -"WARNING: If your original device model does not support Apple Intelligence, please disable it the \n" +"WARNING: If your original device model does not support Apple Intelligence, please disable the \n" "AI models before unspoofing! Returning to your original device model without disabling is going to \n" "cause a re-download and may require a full restore to fix. Furthermore, if you switch between model \n" "groups, like spoofing from the iPhone 16s to the iPhone 15 Pro series, a re-download may also occur. \n"