From 168c67e99267d5209031f4320a82f545092ad20b Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Sun, 6 Feb 2022 16:12:46 +0100 Subject: [PATCH] version 1.2.4.0 --- Packaging/Package.appxmanifest | 2 +- Properties/AssemblyInfo.cs | 4 ++-- README.md | 2 +- UserInterface/AppContextMenu.cs | 2 +- UserInterface/HotkeyTextboxControl/HotkeyControl.cs | 4 ++-- Utilities/File/FileLnk.cs | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Packaging/Package.appxmanifest b/Packaging/Package.appxmanifest index 427fe1f..957574d 100644 --- a/Packaging/Package.appxmanifest +++ b/Packaging/Package.appxmanifest @@ -10,7 +10,7 @@ + Version="1.2.4.0" /> SystemTrayMenu diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index cbc74f7..60aa763 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.3.9")] -[assembly: AssemblyFileVersion("1.2.3.9")] +[assembly: AssemblyVersion("1.2.4.0")] +[assembly: AssemblyFileVersion("1.2.4.0")] diff --git a/README.md b/README.md index c2b2929..9ba7de9 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ Thanks for ideas, reporting issues and contributing! #285 #286 [dao-net](https://github.com/dao-net), #288 William P., #294 #295 #296 Stefan Mahrer, -#225 #297 #299 [chip33](https://github.com/chip33), +#225 #297 #299 #317 [chip33](https://github.com/chip33), #298 [phanirithvij](https://github.com/phanirithvij), #306 [wini2](https://github.com/wini2), diff --git a/UserInterface/AppContextMenu.cs b/UserInterface/AppContextMenu.cs index 7c9923b..0ca59c6 100644 --- a/UserInterface/AppContextMenu.cs +++ b/UserInterface/AppContextMenu.cs @@ -114,7 +114,7 @@ namespace SystemTrayMenu.Helper aboutBox.AppMoreInfo += "#235 #242 243 #247, #271 Tom, #237 Torsten S., #240 video Patrick, #244 Gunter D., #246 MACE4GITHUB, #259 #310 vanjac, "; aboutBox.AppMoreInfo += "#262 terencemcdonnell, #269 petersnows25, #272 Peter M., #273 #274 ParasiteDelta, #275 #276 #278 donaldaken, "; aboutBox.AppMoreInfo += "#277 Jan S., #282 akuznets, #283 #284 #289 RuSieg, #285 #286 dao-net, #288 William P., #294 #295 #296 Stefan Mahrer, "; - aboutBox.AppMoreInfo += "#225 #297 #299 chip33, #298 phanirithvij, #306 wini2" + Environment.NewLine; + aboutBox.AppMoreInfo += "#225 #297 #299 #317 chip33, #298 phanirithvij, #306 wini2" + Environment.NewLine; aboutBox.AppMoreInfo += @" Sponsors - Thank you! ------------------ diff --git a/UserInterface/HotkeyTextboxControl/HotkeyControl.cs b/UserInterface/HotkeyTextboxControl/HotkeyControl.cs index b0fdec3..8c0a5aa 100644 --- a/UserInterface/HotkeyTextboxControl/HotkeyControl.cs +++ b/UserInterface/HotkeyTextboxControl/HotkeyControl.cs @@ -388,7 +388,7 @@ namespace SystemTrayMenu.UserInterface.HotkeyTextboxControl if (NativeMethods.User32GetKeyNameText(numpad << 16, keyName, 100) > 0) { keyString = keyName.ToString().Replace("*", string.Empty, StringComparison.InvariantCulture).Trim().ToLowerInvariant(); - if (keyString.Contains("(")) + if (keyString.Contains('(')) { return "* " + keyString; } @@ -401,7 +401,7 @@ namespace SystemTrayMenu.UserInterface.HotkeyTextboxControl if (NativeMethods.User32GetKeyNameText(numpad << 16, keyName, 100) > 0) { keyString = keyName.ToString().Replace("*", string.Empty, StringComparison.InvariantCulture).Trim().ToLowerInvariant(); - if (keyString.Contains("(")) + if (keyString.Contains('(')) { return "/ " + keyString; } diff --git a/Utilities/File/FileLnk.cs b/Utilities/File/FileLnk.cs index 80f0660..f3f8cad 100644 --- a/Utilities/File/FileLnk.cs +++ b/Utilities/File/FileLnk.cs @@ -41,7 +41,7 @@ namespace SystemTrayMenu.Utilities public static bool IsNetworkRoot(string path) { return path.StartsWith(@"\\", StringComparison.InvariantCulture) && - !path[2..].Contains(@"\", StringComparison.InvariantCulture); + !path[2..].Contains('\\', StringComparison.InvariantCulture); } private static string GetShortcutFileNamePath(object shortcutFilename, out bool isFolder)