From 2891006d892c9e418cd04c5ea9524c21f408a442 Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 19 Jan 2022 16:24:35 +0100 Subject: [PATCH 001/104] update dependencies, remove selfupdater as described in #23 --- EnvyUpdate/App.config | 2 +- EnvyUpdate/EnvyUpdate.csproj | 25 ++++++++++++------------- EnvyUpdate/MainWindow.xaml.cs | 4 ---- EnvyUpdate/Properties/AssemblyInfo.cs | 4 ++-- EnvyUpdate/Util.cs | 14 -------------- EnvyUpdate/packages.config | 11 +++++------ README.md | 3 ++- 7 files changed, 22 insertions(+), 41 deletions(-) diff --git a/EnvyUpdate/App.config b/EnvyUpdate/App.config index b505ff8..8dde225 100644 --- a/EnvyUpdate/App.config +++ b/EnvyUpdate/App.config @@ -11,7 +11,7 @@ - + diff --git a/EnvyUpdate/EnvyUpdate.csproj b/EnvyUpdate/EnvyUpdate.csproj index 85f90d3..d4b1588 100644 --- a/EnvyUpdate/EnvyUpdate.csproj +++ b/EnvyUpdate/EnvyUpdate.csproj @@ -80,17 +80,14 @@ ..\packages\Hardcodet.NotifyIcon.Wpf.1.1.0\lib\net472\Hardcodet.NotifyIcon.Wpf.dll - - ..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll + + ..\packages\Microsoft.Bcl.AsyncInterfaces.6.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll ..\packages\Notifications.Wpf.0.1.1\lib\net461\Notifications.Wpf.dll - - ..\packages\Onova.2.6.2\lib\net461\Onova.dll - ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll @@ -104,15 +101,15 @@ ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll - - ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll + + ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll + + ..\packages\System.Text.Encodings.Web.6.0.0\lib\net461\System.Text.Encodings.Web.dll - - ..\packages\System.Text.Json.5.0.2\lib\net461\System.Text.Json.dll + + ..\packages\System.Text.Json.6.0.1\lib\net461\System.Text.Json.dll ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll @@ -236,7 +233,9 @@ - + + - + + \ No newline at end of file diff --git a/EnvyUpdate/MainWindow.xaml.cs b/EnvyUpdate/MainWindow.xaml.cs index c21d341..24086ca 100644 --- a/EnvyUpdate/MainWindow.xaml.cs +++ b/EnvyUpdate/MainWindow.xaml.cs @@ -112,10 +112,6 @@ namespace EnvyUpdate private async void Load() { - //Check if updater disabled - if (!File.Exists(Path.Combine(GlobalVars.exepath, "disable_updater.envy"))) - await Util.DoUpdateAsync(); - int psid = 0; int pfid = 0; int osid = 0; diff --git a/EnvyUpdate/Properties/AssemblyInfo.cs b/EnvyUpdate/Properties/AssemblyInfo.cs index beeaaff..576ddb8 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("2.11")] -[assembly: AssemblyFileVersion("2.11")] +[assembly: AssemblyVersion("2.12")] +[assembly: AssemblyFileVersion("2.12")] diff --git a/EnvyUpdate/Util.cs b/EnvyUpdate/Util.cs index 43e5dd0..52dc444 100644 --- a/EnvyUpdate/Util.cs +++ b/EnvyUpdate/Util.cs @@ -1,7 +1,5 @@ using IWshRuntimeLibrary; using Microsoft.Win32; -using Onova; -using Onova.Services; using System; using System.Diagnostics; using System.IO; @@ -387,17 +385,5 @@ namespace EnvyUpdate return 1; } - - public static async Task DoUpdateAsync() - { - using (var httpc = new System.Net.Http.HttpClient()) - { - using (var manager = new UpdateManager(new WebPackageResolver(httpc, "https://dev.jakobsenkl.pw/envyupdate/versions.txt"), new ZipPackageExtractor())) - { - // Check for new version and, if available, perform full update and restart - await manager.CheckPerformUpdateAsync(); - } - } - } } } \ No newline at end of file diff --git a/EnvyUpdate/packages.config b/EnvyUpdate/packages.config index c31fc18..7c39521 100644 --- a/EnvyUpdate/packages.config +++ b/EnvyUpdate/packages.config @@ -1,18 +1,17 @@  - + - + - - - - + + + \ No newline at end of file diff --git a/README.md b/README.md index 0d16302..ca5ca97 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Download the [latest release](https://github.com/fyr77/EnvyUpdate/releases/latest/download/EnvyUpdate.exe) (or as a [.zip](https://github.com/fyr77/EnvyUpdate/releases/latest/download/EnvyUpdate.zip)) and run it. Windows SmartScreen Messages can be safely ignored. They only happen because this project is not digitally signed. +The application itself does not update itself. If you notice any bugs or issues, be sure to check for a new version on GitHub! + Or install using [scoop](https://scoop.sh) by running ``` scoop bucket add fyr77 https://github.com/fyr77/fyr77-scoop @@ -51,5 +53,4 @@ EnvyUpdate is not a replacement for any of these tools. I will still try to impl * wpf-notifyicon (for showing an icon in the system tray): [CPOL](https://github.com/hardcodet/wpf-notifyicon/blob/master/LICENSE) * Notifications.Wpf: [MIT](https://github.com/Federerer/Notifications.Wpf/blob/master/LICENSE) * Resource Embedder: [MIT](https://github.com/MarcStan/resource-embedder/blob/master/LICENSE) -* Onova: [LGPL v3](https://github.com/Tyrrrz/Onova/blob/master/License.txt) * Icon made by Freepik from www.flaticon.com \ No newline at end of file From d7ada2b49fb48db531b79b2c75555e70e6d23792 Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 19 Jan 2022 16:37:24 +0100 Subject: [PATCH 002/104] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ca5ca97..9c3426a 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,9 @@ Enabling Autostart will create a shortcut of EnvyUpdate in the Windows startup f ## Compatibility -The application should be compatible with all Nvidia GPUs that have their drivers available on the nvidia.com download page and runs on Windows 7 and up. +The application should be compatible with all Nvidia GeForce GPUs that have their drivers available on the nvidia.com download page and runs on Windows 7 and up. -It is tested with GeForce Series GPUs. Generally others should work, but they are (currently) untested. - -Studio drivers are currently unsupported. +It is tested with GeForce Series GPUs. Generally others might work, but they are (currently) untested. ## Development @@ -53,4 +51,4 @@ EnvyUpdate is not a replacement for any of these tools. I will still try to impl * wpf-notifyicon (for showing an icon in the system tray): [CPOL](https://github.com/hardcodet/wpf-notifyicon/blob/master/LICENSE) * Notifications.Wpf: [MIT](https://github.com/Federerer/Notifications.Wpf/blob/master/LICENSE) * Resource Embedder: [MIT](https://github.com/MarcStan/resource-embedder/blob/master/LICENSE) -* Icon made by Freepik from www.flaticon.com \ No newline at end of file +* Icon made by Freepik from www.flaticon.com From 51bb0fe6257b9dc290722decf5ffc987dc7ed70b Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 19 Jan 2022 16:46:12 +0100 Subject: [PATCH 003/104] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c3426a..189c496 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ EnvyUpdate is not a replacement for any of these tools. I will still try to impl ## Licenses * This project: [MIT](https://github.com/fyr77/EnvyUpdate/blob/master/LICENSE) -* Fody (depency of Costura.Fody): [MIT](https://github.com/Fody/Fody/blob/master/License.txt) +* Fody (dependency of Costura.Fody): [MIT](https://github.com/Fody/Fody/blob/master/License.txt) * Costura.Fody (for embedding DLLs into the main executable): [MIT](https://github.com/Fody/Costura/blob/develop/LICENSE) * wpf-notifyicon (for showing an icon in the system tray): [CPOL](https://github.com/hardcodet/wpf-notifyicon/blob/master/LICENSE) * Notifications.Wpf: [MIT](https://github.com/Federerer/Notifications.Wpf/blob/master/LICENSE) From 820047f290d46bcdfcf97ab6778e95147a4553f7 Mon Sep 17 00:00:00 2001 From: Jakob Date: Thu, 17 Feb 2022 15:19:18 +0100 Subject: [PATCH 004/104] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 189c496..b4d8e30 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ ![License](https://img.shields.io/github/license/fyr77/envyupdate?style=for-the-badge) ![Issues](https://img.shields.io/github/issues/fyr77/envyupdate?style=for-the-badge) ![Version](https://img.shields.io/github/v/release/fyr77/envyupdate?style=for-the-badge) + +# Important Information + +Nvidia seems to have discontinued non-DCH drivers. This means only Windows 10 and Windows 11 can get the most recent driver versions. + +If you are running Standard (non-DCH) drivers right now, EnvyUpdate will **NOT** display newer driver versions until you have manually updated to DCH drivers. ## How to use @@ -38,6 +44,7 @@ If you want to help me develop EnvyUpdate, you can start by creating issues with ## Other interesting tools * [TinyNvidiaUpdateChecker](https://github.com/ElPumpo/TinyNvidiaUpdateChecker) - a command line update checker and installer. Inspired EnvyUpdate to begin with. +* [nvidia-update](https://github.com/ZenitH-AT/nvidia-update) - a Powershell script to check for driver updates * [Disable-Nvidia-Telemtry](https://github.com/NateShoffner/Disable-Nvidia-Telemetry) - does pretty much what the name says. It disables Nvidia Telemetry. * [NVCleanInstall](https://www.techpowerup.com/nvcleanstall/) - a closed-source application by TechPowerUp which does quite a lot of cool things. From 80badd436e04d205a97a083be807622b71737046 Mon Sep 17 00:00:00 2001 From: Jakob Date: Thu, 17 Feb 2022 15:19:50 +0100 Subject: [PATCH 005/104] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b4d8e30..6bc54d7 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ ![Logo](https://github.com/fyr77/envyupdate/blob/master/res/banner.png?raw=true) +# Important Information + +Nvidia seems to have discontinued non-DCH drivers. This means only Windows 10 and Windows 11 can get the most recent driver versions. + +If you are running Standard (non-DCH) drivers right now, EnvyUpdate will **NOT** display newer driver versions until you have manually updated to DCH drivers. + # EnvyUpdate A small portable update checker application for Nvidia GPUs ![License](https://img.shields.io/github/license/fyr77/envyupdate?style=for-the-badge) ![Issues](https://img.shields.io/github/issues/fyr77/envyupdate?style=for-the-badge) ![Version](https://img.shields.io/github/v/release/fyr77/envyupdate?style=for-the-badge) - -# Important Information - -Nvidia seems to have discontinued non-DCH drivers. This means only Windows 10 and Windows 11 can get the most recent driver versions. - -If you are running Standard (non-DCH) drivers right now, EnvyUpdate will **NOT** display newer driver versions until you have manually updated to DCH drivers. ## How to use From 25fa94144b70302021d462ae4ba7ba3c49230597 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sat, 21 May 2022 22:49:43 +0200 Subject: [PATCH 006/104] add version skipping --- EnvyUpdate/MainWindow.xaml | 5 ++- EnvyUpdate/MainWindow.xaml.cs | 50 +++++++++++++++++++-- EnvyUpdate/Properties/AssemblyInfo.cs | 4 +- EnvyUpdate/Properties/Resources.Designer.cs | 29 +++++++++++- EnvyUpdate/Properties/Resources.de.resx | 9 ++++ EnvyUpdate/Properties/Resources.resx | 9 ++++ 6 files changed, 98 insertions(+), 8 deletions(-) diff --git a/EnvyUpdate/MainWindow.xaml b/EnvyUpdate/MainWindow.xaml index a650bcb..4074828 100644 --- a/EnvyUpdate/MainWindow.xaml +++ b/EnvyUpdate/MainWindow.xaml @@ -7,7 +7,7 @@ xmlns:p="clr-namespace:EnvyUpdate.Properties" xmlns:tb="http://www.hardcodet.net/taskbar" mc:Ignorable="d" - Title="EnvyUpdate" Height="270" Width="300" Icon="icon.ico" StateChanged="Window_StateChanged" Closing="Window_Closing" ResizeMode="CanMinimize"> + Title="EnvyUpdate" Height="270" Width="389" Icon="icon.ico" StateChanged="Window_StateChanged" Closing="Window_Closing" ResizeMode="CanMinimize"> @@ -23,8 +23,9 @@ - + +