mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
add more daemons
This commit is contained in:
@@ -18,8 +18,8 @@ from tweaks.tweaks import tweaks
|
|||||||
from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
|
from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
|
||||||
from tweaks.daemons_tweak import Daemon
|
from tweaks.daemons_tweak import Daemon
|
||||||
|
|
||||||
App_Version = "4.2.1"
|
App_Version = "4.2.2"
|
||||||
App_Build = 0
|
App_Build = 1
|
||||||
|
|
||||||
class Page(Enum):
|
class Page(Enum):
|
||||||
Home = 0
|
Home = 0
|
||||||
|
|||||||
@@ -3956,6 +3956,70 @@ To work properly, also disable the daemon using the toggle above.</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="Line" name="line_26">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">QFrame {
|
||||||
|
color: #414141;
|
||||||
|
}</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Plain</enum>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="airprintChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable AirPrint</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="assistiveTouchChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable Assistive Touch</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="icloudChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable iCloud</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="hotspotChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable Internet Tethering (Hotspot)</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="passbookChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable Passbook</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="spotlightChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable Spotlight</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="voiceControlChk">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable Voice Control</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer_6">
|
<spacer name="verticalSpacer_6">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|||||||
@@ -2076,6 +2076,51 @@ class Ui_Nugget(object):
|
|||||||
|
|
||||||
self.verticalLayout_132.addWidget(self.healthdChk)
|
self.verticalLayout_132.addWidget(self.healthdChk)
|
||||||
|
|
||||||
|
self.line_26 = QFrame(self.daemonsPageContent)
|
||||||
|
self.line_26.setObjectName(u"line_26")
|
||||||
|
self.line_26.setStyleSheet(u"QFrame {\n"
|
||||||
|
" color: #414141;\n"
|
||||||
|
"}")
|
||||||
|
self.line_26.setFrameShadow(QFrame.Plain)
|
||||||
|
self.line_26.setFrameShape(QFrame.HLine)
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.line_26)
|
||||||
|
|
||||||
|
self.airprintChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.airprintChk.setObjectName(u"airprintChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.airprintChk)
|
||||||
|
|
||||||
|
self.assistiveTouchChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.assistiveTouchChk.setObjectName(u"assistiveTouchChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.assistiveTouchChk)
|
||||||
|
|
||||||
|
self.icloudChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.icloudChk.setObjectName(u"icloudChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.icloudChk)
|
||||||
|
|
||||||
|
self.hotspotChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.hotspotChk.setObjectName(u"hotspotChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.hotspotChk)
|
||||||
|
|
||||||
|
self.passbookChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.passbookChk.setObjectName(u"passbookChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.passbookChk)
|
||||||
|
|
||||||
|
self.spotlightChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.spotlightChk.setObjectName(u"spotlightChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.spotlightChk)
|
||||||
|
|
||||||
|
self.voiceControlChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.voiceControlChk.setObjectName(u"voiceControlChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.voiceControlChk)
|
||||||
|
|
||||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||||
|
|
||||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||||
@@ -3408,6 +3453,13 @@ class Ui_Nugget(object):
|
|||||||
self.healthdChk.setToolTip(QCoreApplication.translate("Nugget", u"Disables HealthKit services used by the health app.", None))
|
self.healthdChk.setToolTip(QCoreApplication.translate("Nugget", u"Disables HealthKit services used by the health app.", None))
|
||||||
#endif // QT_CONFIG(tooltip)
|
#endif // QT_CONFIG(tooltip)
|
||||||
self.healthdChk.setText(QCoreApplication.translate("Nugget", u"Disable HealthKit", None))
|
self.healthdChk.setText(QCoreApplication.translate("Nugget", u"Disable HealthKit", None))
|
||||||
|
self.airprintChk.setText(QCoreApplication.translate("Nugget", u"Disable AirPrint", None))
|
||||||
|
self.assistiveTouchChk.setText(QCoreApplication.translate("Nugget", u"Disable Assistive Touch", None))
|
||||||
|
self.icloudChk.setText(QCoreApplication.translate("Nugget", u"Disable iCloud", None))
|
||||||
|
self.hotspotChk.setText(QCoreApplication.translate("Nugget", u"Disable Internet Tethering (Hotspot)", None))
|
||||||
|
self.passbookChk.setText(QCoreApplication.translate("Nugget", u"Disable Passbook", None))
|
||||||
|
self.spotlightChk.setText(QCoreApplication.translate("Nugget", u"Disable Spotlight", None))
|
||||||
|
self.voiceControlChk.setText(QCoreApplication.translate("Nugget", u"Disable Voice Control", None))
|
||||||
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
||||||
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
@@ -2076,6 +2076,51 @@ class Ui_Nugget(object):
|
|||||||
|
|
||||||
self.verticalLayout_132.addWidget(self.healthdChk)
|
self.verticalLayout_132.addWidget(self.healthdChk)
|
||||||
|
|
||||||
|
self.line_26 = QFrame(self.daemonsPageContent)
|
||||||
|
self.line_26.setObjectName(u"line_26")
|
||||||
|
self.line_26.setStyleSheet(u"QFrame {\n"
|
||||||
|
" color: #414141;\n"
|
||||||
|
"}")
|
||||||
|
self.line_26.setFrameShadow(QFrame.Plain)
|
||||||
|
self.line_26.setFrameShape(QFrame.Shape.HLine)
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.line_26)
|
||||||
|
|
||||||
|
self.airprintChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.airprintChk.setObjectName(u"airprintChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.airprintChk)
|
||||||
|
|
||||||
|
self.assistiveTouchChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.assistiveTouchChk.setObjectName(u"assistiveTouchChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.assistiveTouchChk)
|
||||||
|
|
||||||
|
self.icloudChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.icloudChk.setObjectName(u"icloudChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.icloudChk)
|
||||||
|
|
||||||
|
self.hotspotChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.hotspotChk.setObjectName(u"hotspotChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.hotspotChk)
|
||||||
|
|
||||||
|
self.passbookChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.passbookChk.setObjectName(u"passbookChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.passbookChk)
|
||||||
|
|
||||||
|
self.spotlightChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.spotlightChk.setObjectName(u"spotlightChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.spotlightChk)
|
||||||
|
|
||||||
|
self.voiceControlChk = QCheckBox(self.daemonsPageContent)
|
||||||
|
self.voiceControlChk.setObjectName(u"voiceControlChk")
|
||||||
|
|
||||||
|
self.verticalLayout_132.addWidget(self.voiceControlChk)
|
||||||
|
|
||||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||||
|
|
||||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||||
@@ -3408,6 +3453,13 @@ class Ui_Nugget(object):
|
|||||||
self.healthdChk.setToolTip(QCoreApplication.translate("Nugget", u"Disables HealthKit services used by the health app.", None))
|
self.healthdChk.setToolTip(QCoreApplication.translate("Nugget", u"Disables HealthKit services used by the health app.", None))
|
||||||
#endif // QT_CONFIG(tooltip)
|
#endif // QT_CONFIG(tooltip)
|
||||||
self.healthdChk.setText(QCoreApplication.translate("Nugget", u"Disable HealthKit", None))
|
self.healthdChk.setText(QCoreApplication.translate("Nugget", u"Disable HealthKit", None))
|
||||||
|
self.airprintChk.setText(QCoreApplication.translate("Nugget", u"Disable AirPrint", None))
|
||||||
|
self.assistiveTouchChk.setText(QCoreApplication.translate("Nugget", u"Disable Assistive Touch", None))
|
||||||
|
self.icloudChk.setText(QCoreApplication.translate("Nugget", u"Disable iCloud", None))
|
||||||
|
self.hotspotChk.setText(QCoreApplication.translate("Nugget", u"Disable Internet Tethering (Hotspot)", None))
|
||||||
|
self.passbookChk.setText(QCoreApplication.translate("Nugget", u"Disable Passbook", None))
|
||||||
|
self.spotlightChk.setText(QCoreApplication.translate("Nugget", u"Disable Spotlight", None))
|
||||||
|
self.voiceControlChk.setText(QCoreApplication.translate("Nugget", u"Disable Voice Control", None))
|
||||||
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
||||||
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
@@ -40,3 +40,14 @@ class Daemon(Enum):
|
|||||||
VPN = ["com.apple.racoon"]
|
VPN = ["com.apple.racoon"]
|
||||||
ChineseLAN = ["com.apple.wapic"]
|
ChineseLAN = ["com.apple.wapic"]
|
||||||
HealthKit = ["com.apple.healthd"]
|
HealthKit = ["com.apple.healthd"]
|
||||||
|
AirPrint = ["com.apple.printd"],
|
||||||
|
AssistiveTouch = ["com.apple.assistivetouchd"],
|
||||||
|
iCloud = ["com.apple.itunescloudd"],
|
||||||
|
InternetTethering = ["com.apple.MobileInternetSharing"],
|
||||||
|
PassBook = ["com.apple.passd"],
|
||||||
|
Spotlight = ["com.apple.searchd"],
|
||||||
|
VoiceControl = [
|
||||||
|
"com.apple.assistant_service",
|
||||||
|
"com.apple.assistantd",
|
||||||
|
"com.apple.voiced"
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user