Skip to content

Portable Tool for an Ideal Windows Setup

-tweak description changes

Greedeks0069d894868e
diff --git a/.Source/GTweak/Languages/en/Lang.xaml b/.Source/GTweak/Languages/en/Lang.xaml
index 6f5ab832..462a4dee 100644
--- a/.Source/GTweak/Languages/en/Lang.xaml
+++ b/.Source/GTweak/Languages/en/Lang.xaml
@@ -310,7 +310,7 @@
<v:String x:Key="TglButton12_description_services">Disable if you have only one monitor and you do not plan to connect additional ones.</v:String>
<v:String x:Key="TglButton13_description_services">Disable if you do not use all these applications: Virtual Desktops, Your Phone and Night Lights.</v:String>
<v:String x:Key="TglButton14_description_services">Disable if you do not use or plan to use a local network.</v:String>
- <v:String x:Key="TglButton15_description_services">Disable if you do not plan to update Windows. Please note that the service affects downloading and updating apps from the Windows Store.</v:String>
+ <v:String x:Key="TglButton15_description_services">Disable it if you do not plan to update Windows. The file responsible for Windows updates will also be changed. And even if the services are enabled, the Update Center will not work. Please note that the tweak affects downloading and updating apps from the Windows Store.</v:String>
<v:String x:Key="TglButton16_description_services">Disable if you are not using VPN clients. May affect the operation of the Xbox.</v:String>
<v:String x:Key="TglButton17_description_services">Disable it if you do not need file synchronization and access to them on a local network for Windows Media Player. These services are not critical, you can continue to use the player.</v:String>
<v:String x:Key="TglButton18_description_services">Disable if you do not use a remote desktop and do not use a server connection to them.</v:String>
diff --git a/.Source/GTweak/Languages/ru/Lang.xaml b/.Source/GTweak/Languages/ru/Lang.xaml
index c7043050..c7c49ab8 100644
--- a/.Source/GTweak/Languages/ru/Lang.xaml
+++ b/.Source/GTweak/Languages/ru/Lang.xaml
@@ -310,7 +310,7 @@
<v:String x:Key="TglButton12_description_services">Отключайте если у вас только один монитор и вы не планируете подключать дополнительные.</v:String>
<v:String x:Key="TglButton13_description_services">Отключайте если вы не используете все эти приложения: Виртуальные рабочие столы, Ваш телефон и Ночной свет.</v:String>
<v:String x:Key="TglButton14_description_services">Отключайте если вы не используете и не планируете использовать локальную сеть.</v:String>
- <v:String x:Key="TglButton15_description_services">Отключайте если вы не планируете обновлять Windows. Обратите внимание, что служба влияет на скачивание и обновление приложений из Магазина Windows.</v:String>
+ <v:String x:Key="TglButton15_description_services">Отключите его, если вы не планируете обновлять Windows. Файл, отвечающий за обновления Windows, также будет изменен. И даже если службы будут включены, Центр Обновлений работать не будет. Обратите внимание, что твик влияет на скачивание и обновление приложений из Магазина Windows.</v:String>
<v:String x:Key="TglButton16_description_services">Отключайте если вы не используете VPN-клиенты. Может повлиять на работу Xbox.</v:String>
<v:String x:Key="TglButton17_description_services">Отключайте если вам не нужна синхронизация файлов и доступ к ним в локальной сети для Проигрывателя Windows Media. Эти службы не является критически важными, вы и дальше сможете использовать проигрыватель.</v:String>
<v:String x:Key="TglButton18_description_services">Отключайте если вы не пользуетесь удалённым рабочим столом и не используете серверное подключение к ним.</v:String>
diff --git a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
index dd5cb664..677fdc01 100644
--- a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
@@ -212,14 +212,19 @@ namespace GTweak.Utilities.Tweaks
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DmEnrollmentSvc", "Start", null) == null ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DmEnrollmentSvc", "Start", string.Empty).ToString() != "4" ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv", "Start", null) == null ||
+ Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv", "Start", string.Empty).ToString() != "4" ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc", "Start", null) == null ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc", "Start", string.Empty).ToString() != "4" ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc", "Start", null) == null ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc", "Start", string.Empty).ToString() != "4" ||
Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc", "Start", null) == null ||
- Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc", "Start", string.Empty).ToString() != "4" ||
- !File.Exists(WinUpdatePaths["RenMoUso_New"]) & !File.Exists(WinUpdatePaths["RenMoUso_Old"]))
- servicesV.TglButton15.StateNA = true;
+ Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc", "Start", string.Empty).ToString() != "4")
+ {
+ if (!File.Exists(WinUpdatePaths["RenMoUso_New"]) & !File.Exists(WinUpdatePaths["RenMoUso_Old"]))
+ servicesV.TglButton15.StateNA = true;
+ else
+ servicesV.TglButton15.StateNA = false;
+ }
else
servicesV.TglButton15.StateNA = false;