Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
add more daemons
Browse files Browse the repository at this point in the history
  • Loading branch information
leminlimez committed Dec 19, 2024
1 parent af6abe6 commit f509c67
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 3 deletions.
Binary file added Thumbs.db
Binary file not shown.
4 changes: 2 additions & 2 deletions gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
from tweaks.daemons_tweak import Daemon

App_Version = "4.2.1"
App_Build = 0
App_Version = "4.2.2"
App_Build = 1

class Page(Enum):
Home = 0
Expand Down
64 changes: 64 additions & 0 deletions qt/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3956,6 +3956,70 @@ To work properly, also disable the daemon using the toggle above.</string>
</property>
</widget>
</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>
<spacer name="verticalSpacer_6">
<property name="orientation">
Expand Down
52 changes: 52 additions & 0 deletions qt/mainwindow_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2076,6 +2076,51 @@ def setupUi(self, Nugget):

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.verticalLayout_132.addItem(self.verticalSpacer_62)
Expand Down Expand Up @@ -3408,6 +3453,13 @@ def retranslateUi(self, Nugget):
self.healthdChk.setToolTip(QCoreApplication.translate("Nugget", u"Disables HealthKit services used by the health app.", None))
#endif // QT_CONFIG(tooltip)
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.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
"\n"
Expand Down
52 changes: 52 additions & 0 deletions qt/ui_mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2076,6 +2076,51 @@ def setupUi(self, Nugget):

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.verticalLayout_132.addItem(self.verticalSpacer_62)
Expand Down Expand Up @@ -3408,6 +3453,13 @@ def retranslateUi(self, Nugget):
self.healthdChk.setToolTip(QCoreApplication.translate("Nugget", u"Disables HealthKit services used by the health app.", None))
#endif // QT_CONFIG(tooltip)
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.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
"\n"
Expand Down
13 changes: 12 additions & 1 deletion tweaks/daemons_tweak.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,15 @@ class Daemon(Enum):
Tips = ["com.apple.tipsd"]
VPN = ["com.apple.racoon"]
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"
]

0 comments on commit f509c67

Please sign in to comment.