Skip to content

Portable Tool for an Ideal Windows Setup

upd. notice mapping & deb v5.4.5

Greedeks1f0324319a7c
diff --git a/.Source/GTweak/Properties/AssemblyInfo.cs b/.Source/GTweak/Properties/AssemblyInfo.cs
index 96ea71c0..95b99972 100644
--- a/.Source/GTweak/Properties/AssemblyInfo.cs
+++ b/.Source/GTweak/Properties/AssemblyInfo.cs
@@ -7,9 +7,9 @@ using System.Windows;
[assembly: AssemblyProduct("GTweak")]
[assembly: AssemblyCopyright("� 2024-2026 Greedeks")]
[assembly: AssemblyTrademark("Greedeks")]
-[assembly: AssemblyInformationalVersion("Build: 5.4.4")]
-[assembly: AssemblyVersion("5.4.58.911")]
-[assembly: AssemblyFileVersion("5.4.58.911")]
+[assembly: AssemblyInformationalVersion("Build: 5.4.5")]
+[assembly: AssemblyVersion("5.4.55.15")]
+[assembly: AssemblyFileVersion("5.4.55.15")]
[assembly: ComVisible(false)]
diff --git a/.Source/GTweak/Properties/AssemblyInfo.tt b/.Source/GTweak/Properties/AssemblyInfo.tt
index 28f63eaf..e0cb41b2 100644
--- a/.Source/GTweak/Properties/AssemblyInfo.tt
+++ b/.Source/GTweak/Properties/AssemblyInfo.tt
@@ -22,7 +22,7 @@ using System.Windows;
[assembly: AssemblyMetadata("RepositoryType", "git")]
<#+
- private const string majorVersion = "Build: 5.4.4";
+ private const string majorVersion = "Build: 5.4.5";
private string GenerateVersion()
{
diff --git a/.Source/GTweak/Utilities/Managers/ExplorerManager.cs b/.Source/GTweak/Utilities/Managers/ExplorerManager.cs
index ab4dbd27..d4a51809 100644
--- a/.Source/GTweak/Utilities/Managers/ExplorerManager.cs
+++ b/.Source/GTweak/Utilities/Managers/ExplorerManager.cs
@@ -64,6 +64,7 @@ namespace GTweak.Utilities.Managers
{
process.Kill();
action?.Invoke();
+ process.Dispose();
}
}
catch (Exception ex) { ErrorLogging.LogDebug(ex); }
@@ -74,7 +75,8 @@ namespace GTweak.Utilities.Managers
launchExplorer.StartInfo.FileName = PathLocator.Executable.Explorer;
launchExplorer.StartInfo.Arguments = "/factory,{EFD469A7-7E0A-4517-8B39-45873948DA31}";
launchExplorer.StartInfo.UseShellExecute = true;
- launchExplorer.Start();
+ try { launchExplorer.Start(); }
+ catch (Exception ex) { ErrorLogging.LogDebug(ex); }
}
}
});
diff --git a/.Source/GTweak/Utilities/Managers/NotificationManager.cs b/.Source/GTweak/Utilities/Managers/NotificationManager.cs
index 43dadf3b..c51008d0 100644
--- a/.Source/GTweak/Utilities/Managers/NotificationManager.cs
+++ b/.Source/GTweak/Utilities/Managers/NotificationManager.cs
@@ -26,6 +26,7 @@ namespace GTweak.Utilities.Managers
["TglButton7"] = NoticeAction.Logout,
["TglButton8"] = NoticeAction.Logout,
["TglButton9"] = NoticeAction.Logout,
+ ["TglButton10"] = NoticeAction.Logout,
["TglButton16"] = NoticeAction.Restart,
["TglButton18"] = NoticeAction.Logout,
["TglButton29"] = NoticeAction.Restart
diff --git a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
index 494fde69..da6cbda0 100644
--- a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
@@ -37,21 +37,14 @@ namespace GTweak.Utilities.Tweaks
RegistryHelp.CheckValue(@"HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}", "System.IsPinnedToNameSpaceTree", "0") ||
RegistryHelp.CheckValue(@"HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}", "System.IsPinnedToNameSpaceTree", "0");
- foreach ((int i, string n, string v) in new (int Index, string Name, string Value)[] { (4, "Hidden", "1"), (5, "ShowSuperHidden", "1"), (6, "HideFileExt", "0"), (7, "HideDrivesWithNoMedia", "0") })
+ foreach ((int i, string n, string v) in new (int index, string name, string value)[] { (4, "Hidden", "1"), (5, "ShowSuperHidden", "1"), (6, "HideFileExt", "0"), (7, "HideDrivesWithNoMedia", "0") })
{
_сontrolWriter.Checkbox[i] = RegistryHelp.CheckValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", n, v, true);
}
- foreach ((int i, string g) in new (int Index, string Guid)[] { (8, "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"), (9, "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"), (10, "{645FF040-5081-101B-9F08-00AA002F954E}"), (11, "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"), (12, "{59031A47-3F72-44A7-89C5-5595FE6B30EE}"), (13, "{018D5C66-4533-4307-9B53-224DE2ED1FE6}") })
+ foreach ((int i, string g) in new (int index, string guid)[] { (8, "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"), (9, "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"), (10, "{645FF040-5081-101B-9F08-00AA002F954E}"), (11, "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"), (12, "{59031A47-3F72-44A7-89C5-5595FE6B30EE}"), (13, "{018D5C66-4533-4307-9B53-224DE2ED1FE6}") })
{
- if (i == 10)
- {
- _сontrolWriter.Checkbox[i] = RegistryHelp.CheckValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", g, "1");
- }
- else
- {
- _сontrolWriter.Checkbox[i] = RegistryHelp.CheckValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", g, "0", true);
- }
+ _сontrolWriter.Checkbox[i] = RegistryHelp.CheckValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", g, i == 10 ? "1" : "0", i != 10);
}
_сontrolWriter.Button[1] =