disable windows path fix by default

This commit is contained in:
leminlimez
2025-03-28 10:01:48 -04:00
parent 2a43f9b48b
commit 772106b624
2 changed files with 5 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ class DeviceManager:
self.apply_over_wifi = False
self.auto_reboot = True
self.allow_risky_tweaks = False
self.windows_path_fix = True
self.windows_path_fix = False
self.show_all_spoofable_models = False
self.skip_setup = True
self.supervised = False

View File

@@ -21,7 +21,7 @@ from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
from tweaks.daemons_tweak import Daemon
App_Version = "5.1"
App_Build = 3
App_Build = 4
class Page(Enum):
Home = 0
@@ -444,6 +444,7 @@ class MainWindow(QtWidgets.QMainWindow):
skip_setup = self.settings.value("skip_setup", True, type=bool)
supervised = self.settings.value("supervised", False, type=bool)
organization_name = self.settings.value("organization_name", "", type=str)
windows_path_fix = self.settings.value("windows_path_fix", False, type=bool)
self.ui.allowWifiApplyingChk.setChecked(apply_over_wifi)
self.ui.autoRebootChk.setChecked(auto_reboot)
@@ -452,6 +453,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.ui.skipSetupChk.setChecked(skip_setup)
self.ui.supervisionChk.setChecked(supervised)
self.ui.supervisionOrganization.setText(organization_name)
self.ui.windowsPathFixChk.setChecked(windows_path_fix)
# hide/show the warning label
if skip_setup:
@@ -466,6 +468,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.device_manager.skip_setup = skip_setup
self.device_manager.supervised = supervised
self.device_manager.organization_name = organization_name
self.device_manager.windows_path_fix = windows_path_fix
except:
pass