Skip to content

Commit 7a01d9d

Browse files
authored
Merge pull request #942 from leminlimez/v7.2
v7.2
2 parents c369f37 + 4946c14 commit 7a01d9d

File tree

201 files changed

+48934
-49032
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+48934
-49032
lines changed

README.md

Lines changed: 32 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ Make sure you have installed the [requirements](#requirements) if you are on Win
4646
- Show Red/Green Authentication Line on Lock Screen (See [this issue](https://github.com/leminlimez/Nugget/issues/656) for what it looks like)
4747
- Disable Floating Tab Bar on iPads
4848
- Internal Options
49-
- Disable Liquid Glass (iOS 26.0+)
50-
- Ignore Liquid Glass App Build Check (iOS 26.0+)
5149
- Enabling Key Flick (iPad-style keyboard) on iPhones (iOS 26.0-)
5250
- Build Version in Status Bar
5351
- Force Right to Left
@@ -62,6 +60,8 @@ Make sure you have installed the [requirements](#requirements) if you are on Win
6260
- Hide Respring Icon
6361
- Play Sound on Paste
6462
- Show Notifications for System Pastes
63+
- Disable Liquid Glass (iOS 26.0+):
64+
- Ignore Liquid Glass App Build Check (iOS 26.0+)
6565
- Disable Daemons:
6666
- OTAd
6767
- UsageTrackingAgent
@@ -84,39 +84,35 @@ Make sure you have installed the [requirements](#requirements) if you are on Win
8484
- Disable thermalmonitord
8585
</details>
8686
<details>
87-
<summary>iOS 17.0 - 18.1.1</summary>
87+
<summary>iOS 17.0 - 26.1</summary>
8888

89-
- Enable Dynamic Island on any device
90-
- Enable iPhone X gestures on iPhone SEs
91-
- Change Device Model Name (ie what shows in the Settings app)
92-
- Enable Boot Chime
93-
- Enable Charge Limit
94-
- Enable Tap to Wake on unsupported devices (ie iPhone SEs)
95-
- Enable Collision SOS
96-
- Enable Stage Manager
97-
- Disable the Wallpaper Parallax
98-
- Disable Region Restrictions (ie. Shutter Sound)
99-
- Note: This does not include enabling EU sideloading outside the EU. That will come later.
100-
- Show the Apple Pencil options in Settings app
101-
- Show the Action Button options in Settings app
102-
- Show Internal Storage info (Might cause problems on some devices, use at your own risk)
89+
- Mobile Gestalt:
90+
- Enable Dynamic Island on any device
91+
- Enable iPadOS on iPhones (use at your own risk)
92+
- Enable iPhone X gestures on iPhone SEs
93+
- Change Device Model Name (ie what shows in the Settings app)
94+
- Enable Boot Chime
95+
- Enable Charge Limit
96+
- Enable Tap to Wake on unsupported devices (ie iPhone SEs)
97+
- Enable Collision SOS
98+
- Enable Stage Manager
99+
- Disable the Wallpaper Parallax
100+
- Disable Region Restrictions (ie. Shutter Sound)
101+
- Note: This does not include enabling EU sideloading outside the EU.
102+
- Show the Apple Pencil options in Settings app
103+
- Show the Action Button options in Settings app
104+
- Show Internal Storage info (Might cause problems on some devices, use at your own risk)
105+
- Enable iPhone 16 camera button page in the Settings app (iOS 18.0+)
106+
- Enable AOD on any device (Warning: this may cause burn in)
103107
- EU Enabler (iOS 17.6-)
108+
- Feature Flags:
109+
- Enable Kiosk Mode
110+
- Disable Liquid Glass/Solarium (iOS 26.0 - 26.1)
111+
- Enable lock screen clock animation, lock screen page duplication button, and more!
112+
- Disable the new iOS 18 Photos UI (iOS 18.0 betas only, unknown which patched it)
104113
</details>
105114
<details>
106-
<summary>iOS 18.0 - 18.0.1</summary>
107-
108-
- Feature Flags (iOS 18.1b4-):
109-
- Enabling lock screen clock animation, lock screen page duplication button, and more!
110-
- Disabling the new iOS 18 Photos UI (iOS 18.0 betas only, unknown which patched it)
111-
</details>
112-
<details>
113-
<summary>iOS 18.0 - 18.1.1</summary>
114-
115-
- Enable iPhone 16 camera button page in the Settings app
116-
- Enable AOD & AOD Vibrancy on any device
117-
</details>
118-
<details>
119-
<summary>iOS 18.1 - 18.1.1</summary>
115+
<summary>iOS 18.1 - 26.1</summary>
120116

121117
- AI Enabler
122118
- Device Spoofing
@@ -141,7 +137,7 @@ Make sure you have installed the [requirements](#requirements) if you are on Win
141137

142138
- [pymobiledevice3][pymobiledevice3GitHub]
143139
- [PySide6][PySide6Doc]
144-
- Python 3.8 or newer
140+
- Python 3.9 or newer
145141
</details>
146142

147143
## Running the Python Program
@@ -176,18 +172,18 @@ On iOS 26.1 and below, you may need to get the mobilegestalt file that is specif
176172
## Building
177173
To compile `mainwindow.ui` for Python, run the following command:
178174
```py
179-
pyside6-uic qt/mainwindow.ui -o qt/mainwindow_ui.py
175+
pyside6-uic --from-imports src/qt/mainwindow.ui -o src/qt/mainwindow_ui.py
180176
```
181177

182178
To compile the resources file for Python, run the following command:
183179
```py
184-
pyside6-rcc resources.qrc -o resources_rc.py
180+
pyside6-rcc src/qt/resources.qrc -o src/qt/resources_rc.py
185181
```
186182

187183
To create and compile languages, you can use the following commands:
188184
```py
189-
pyside6-lupdate gui/main_window.py gui/pages/main/*.py gui/pages/tools/*.py gui/dialogs.py qt/mainwindow.ui devicemanagement/device_manager.py exceptions/*.py tweaks/*.py tweaks/posterboard/*.py tweaks/posterboard/template_options/*.py controllers/*.py -ts translations/Nugget_{language code}.ts # generate/update the language file
190-
pyside6-lrelease translations/Nugget_{language code}.ts -qm translations/Nugget_{language code}.qm # compile to binary
185+
pyside6-lupdate src/gui/main_window.py src/gui/pages/main/*.py src/gui/pages/tools/*.py src/gui/dialogs.py src/qt/mainwindow.ui src/devicemanagement/device_manager.py src/exceptions/*.py src/tweaks/*.py src/tweaks/posterboard/*.py src/tweaks/posterboard/template_options/*.py src/controllers/*.py -ts src/qt/translations/Nugget_{language code}.ts # generate/update the language file
186+
pyside6-lrelease src/qt/translations/Nugget_{language code}.ts -qm src/qt/translations/Nugget_{language code}.qm # compile to binary
191187
```
192188

193189
The application itself can be compiled by running `compile.py`.

compile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
'--icon=nugget.ico',
1414
'--onedir',
1515
'--noconfirm',
16-
'--collect-all=devicemanagement',
1716
'--collect-all=pymobiledevice3', # <--- FIXED: Forces inclusion of __main__.py
1817
'--add-data=files/:files',
1918
'--copy-metadata=pyimg4',
0 Bytes
Binary file not shown.

gui/pages/tools/featureflags.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

main_app.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
warnings.filterwarnings("ignore")
1010

1111
from PySide6 import QtGui, QtWidgets
12-
from PySide6.QtCore import QLocale, QSettings
12+
from PySide6.QtCore import QSettings
1313

14-
from controllers.translator import Translator
15-
from gui.main_window import MainWindow
16-
from devicemanagement.device_manager import DeviceManager
17-
from tweaks.tweaks import tweaks, TweakID
14+
from src.controllers.translator import Translator
15+
from src.gui.main_window import MainWindow
16+
from src.devicemanagement.device_manager import DeviceManager
17+
from src.tweaks.tweaks import tweaks, TweakID
1818

1919
if __name__ == "__main__":
2020
multiprocessing.freeze_support()

0 commit comments

Comments
 (0)