From 19cf5fb38e64987cfb9595bca7f37fc25dbb45bd Mon Sep 17 00:00:00 2001 From: fyr77 Date: Fri, 23 Feb 2024 20:36:05 +0100 Subject: [PATCH 1/3] fix non-gtx detection --- EnvyUpdate/Util.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvyUpdate/Util.cs b/EnvyUpdate/Util.cs index df99ebb..8a504cd 100644 --- a/EnvyUpdate/Util.cs +++ b/EnvyUpdate/Util.cs @@ -337,7 +337,7 @@ namespace EnvyUpdate { GPUName = obj["VideoProcessor"].ToString().ToLower(); // Remove any 3GB, 6GB or similar from name. We don't need to know the VRAM to get results. - GPUName = Regex.Match(GPUName, "(geforce )((.tx )|(mx))?\\w*\\d*( ti)?").Value; + GPUName = Regex.Match(GPUName, "(geforce )((.t.? )|(mx ))?\\w*\\d*( ti)?").Value; } else GPUName = obj["VideoProcessor"].ToString(); From 8ce6a921464f64feae5725149d8f1dd527586afc Mon Sep 17 00:00:00 2001 From: fyr77 Date: Sat, 24 Feb 2024 13:44:34 +0100 Subject: [PATCH 2/3] add notification exception handling --- EnvyUpdate/Notify.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/EnvyUpdate/Notify.cs b/EnvyUpdate/Notify.cs index ac317c1..d889163 100644 --- a/EnvyUpdate/Notify.cs +++ b/EnvyUpdate/Notify.cs @@ -6,9 +6,16 @@ namespace EnvyUpdate { public static void ShowDrivUpdatePopup() { - var toast = new ToastContentBuilder(); - toast.AddText(Properties.Resources.update_popup_message); - toast.Show(); + try + { + var toast = new ToastContentBuilder(); + toast.AddText(Properties.Resources.update_popup_message); + toast.Show(); + } + catch (System.Exception ex) + { + Debug.LogToFile("WARN Could not show notification. Error: " + ex.Message); + } } } } \ No newline at end of file From 1aa93e2267dc7d95d026df4843fdb856d9c02959 Mon Sep 17 00:00:00 2001 From: fyr77 Date: Sun, 25 Feb 2024 15:09:21 +0100 Subject: [PATCH 3/3] bump version --- EnvyUpdate/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EnvyUpdate/Properties/AssemblyInfo.cs b/EnvyUpdate/Properties/AssemblyInfo.cs index 6eeb6d9..7420f2a 100644 --- a/EnvyUpdate/Properties/AssemblyInfo.cs +++ b/EnvyUpdate/Properties/AssemblyInfo.cs @@ -49,5 +49,5 @@ using System.Windows; // 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("3.4")] -[assembly: AssemblyFileVersion("3.4")] +[assembly: AssemblyVersion("3.5")] +[assembly: AssemblyFileVersion("3.5")]