From 657ebb0d5fd539dfaed1b9ce924d6b535248f178 Mon Sep 17 00:00:00 2001 From: JohannesIBK Date: Sat, 16 Dec 2023 19:31:13 +0100 Subject: [PATCH 01/23] fix issue with usernames that contain spaces --- EnvyUpdate/DashboardPage.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvyUpdate/DashboardPage.xaml.cs b/EnvyUpdate/DashboardPage.xaml.cs index 78258b7..d275b3f 100644 --- a/EnvyUpdate/DashboardPage.xaml.cs +++ b/EnvyUpdate/DashboardPage.xaml.cs @@ -420,7 +420,7 @@ namespace EnvyUpdate WindowStyle = ProcessWindowStyle.Minimized, WorkingDirectory = destinationDir, FileName = sevenZipPath, - Arguments = "x -aoa -y " + filePath + " Display.Driver Display.Nview Display.Optimus HDAudio MSVCR NVI2 NVPCF PhysX PPC ShieldWirelessController EULA.txt ListDevices.txt setup.cfg setup.exe" + Arguments = "x -aoa -y \"" + filePath + "\" Display.Driver Display.Nview Display.Optimus HDAudio MSVCR NVI2 NVPCF PhysX PPC ShieldWirelessController EULA.txt ListDevices.txt setup.cfg setup.exe" }; process.EnableRaisingEvents = true; process.StartInfo = startInfo; From 3231cd4db26c55c07754ca4ae5c6ae1a409b7942 Mon Sep 17 00:00:00 2001 From: fyr77 Date: Sat, 16 Dec 2023 20:44:11 +0100 Subject: [PATCH 02/23] 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 620e972..dbe3fd6 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.2")] -[assembly: AssemblyFileVersion("3.2")] +[assembly: AssemblyVersion("3.3")] +[assembly: AssemblyFileVersion("3.3")] From 44c0e0ce9111dae9e19329498a4641d7a09cffaa Mon Sep 17 00:00:00 2001 From: fyr77 Date: Sun, 4 Feb 2024 15:27:39 +0100 Subject: [PATCH 03/23] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 3051eea..d6dacc4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2023 Jakob Senkl +Copyright (c) 2019-2024 fyr77 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From b7590538f076ce70e9aa993d502823f0a1a36241 Mon Sep 17 00:00:00 2001 From: fyr77 Date: Fri, 23 Feb 2024 10:33:43 +0100 Subject: [PATCH 04/23] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b908cbf..1238dbe 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +# Important Information +NVIDIA is planning to release their new "[NVIDIA App](https://www.nvidia.com/en-us/software/nvidia-app/)", which will **replace** GeForce Experience and the Control Center. I do not yet know how the new driver package will look like, therefore I cannot guarantee that the update to that new driver that includes the new app will work properly when it releases. I will attempt to test it as soon as it is available. + ![Logo](https://github.com/fyr77/envyupdate/blob/master/res/banner_bg.png?raw=true) # EnvyUpdate From 9bd5cc3d88f92f92924aa9b217f6af405b0e6c37 Mon Sep 17 00:00:00 2001 From: fyr77 Date: Fri, 23 Feb 2024 11:29:24 +0100 Subject: [PATCH 05/23] 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 dbe3fd6..6eeb6d9 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.3")] -[assembly: AssemblyFileVersion("3.3")] +[assembly: AssemblyVersion("3.4")] +[assembly: AssemblyFileVersion("3.4")] From 3f925ee17abcc9d58285555e0fd85c96f1d67b3f Mon Sep 17 00:00:00 2001 From: fyr77 Date: Fri, 23 Feb 2024 11:30:29 +0100 Subject: [PATCH 06/23] increase default size --- EnvyUpdate/MainWindow.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvyUpdate/MainWindow.xaml b/EnvyUpdate/MainWindow.xaml index af4f6a7..5015f14 100644 --- a/EnvyUpdate/MainWindow.xaml +++ b/EnvyUpdate/MainWindow.xaml @@ -11,7 +11,7 @@ ExtendsContentIntoTitleBar="True" WindowBackdropType="Mica" - Title="EnvyUpdate" MinHeight="500" Height="500" MinWidth="600" Width="600" Icon="icon.ico" StateChanged="Window_StateChanged" Closing="Window_Closing" ResizeMode="CanMinimize" WindowStyle="None"> + Title="EnvyUpdate" MinHeight="500" Height="550" MinWidth="700" Width="750" Icon="icon.ico" StateChanged="Window_StateChanged" Closing="Window_Closing" ResizeMode="CanMinimize" WindowStyle="None"> From b9e7aac55fbb8353ce30669fc682dfd5518ba2d0 Mon Sep 17 00:00:00 2001 From: fyr77 Date: Fri, 23 Feb 2024 20:30:40 +0100 Subject: [PATCH 07/23] add auto download feature --- EnvyUpdate/DashboardPage.xaml.cs | 6 ++++++ EnvyUpdate/GlobalVars.cs | 1 + EnvyUpdate/Properties/Resources.Designer.cs | 9 +++++++++ EnvyUpdate/Properties/Resources.de.resx | 3 +++ EnvyUpdate/Properties/Resources.resx | 3 +++ EnvyUpdate/SettingsPage.xaml | 16 +++++++++++++--- EnvyUpdate/SettingsPage.xaml.cs | 10 ++++++++++ 7 files changed, 45 insertions(+), 3 deletions(-) diff --git a/EnvyUpdate/DashboardPage.xaml.cs b/EnvyUpdate/DashboardPage.xaml.cs index d275b3f..d43e27a 100644 --- a/EnvyUpdate/DashboardPage.xaml.cs +++ b/EnvyUpdate/DashboardPage.xaml.cs @@ -210,6 +210,12 @@ namespace EnvyUpdate if (skippedVer != onlineDriv) { + if (GlobalVars.autoDownload) + { + Debug.LogToFile("INFO Auto-Downloading driver."); + buttonDownload_Click(null, null); + } + Debug.LogToFile("INFO Showing update popup notification."); Notify.ShowDrivUpdatePopup(); } diff --git a/EnvyUpdate/GlobalVars.cs b/EnvyUpdate/GlobalVars.cs index e830039..b56e851 100644 --- a/EnvyUpdate/GlobalVars.cs +++ b/EnvyUpdate/GlobalVars.cs @@ -19,5 +19,6 @@ namespace EnvyUpdate public static readonly string useragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Firefox/115.0"; public static bool useAppdata = false; public static bool hasWrite = true; + public static bool autoDownload = false; } } diff --git a/EnvyUpdate/Properties/Resources.Designer.cs b/EnvyUpdate/Properties/Resources.Designer.cs index 4f80cf9..2442daa 100644 --- a/EnvyUpdate/Properties/Resources.Designer.cs +++ b/EnvyUpdate/Properties/Resources.Designer.cs @@ -267,6 +267,15 @@ namespace EnvyUpdate.Properties { } } + /// + /// Looks up a localized string similar to Download updates automatically. + /// + public static string ui_enable_autodownload { + get { + return ResourceManager.GetString("ui_enable_autodownload", resourceCulture); + } + } + /// /// Looks up a localized string similar to Enable logging to file. /// diff --git a/EnvyUpdate/Properties/Resources.de.resx b/EnvyUpdate/Properties/Resources.de.resx index 40102a4..296e7c4 100644 --- a/EnvyUpdate/Properties/Resources.de.resx +++ b/EnvyUpdate/Properties/Resources.de.resx @@ -186,6 +186,9 @@ Programmdaten in AppData speichern + + Updates automatisch herunterladen + Programm-Log in Datei schreiben diff --git a/EnvyUpdate/Properties/Resources.resx b/EnvyUpdate/Properties/Resources.resx index 3780249..304ee61 100644 --- a/EnvyUpdate/Properties/Resources.resx +++ b/EnvyUpdate/Properties/Resources.resx @@ -186,6 +186,9 @@ Save files to AppData + + Download updates automatically + Enable logging to file diff --git a/EnvyUpdate/SettingsPage.xaml b/EnvyUpdate/SettingsPage.xaml index f00cd4b..ab6f973 100644 --- a/EnvyUpdate/SettingsPage.xaml +++ b/EnvyUpdate/SettingsPage.xaml @@ -35,9 +35,19 @@ - - - + + + + + + + + + + + + +