Skip to content

Commit

Permalink
Final commit v1.14.7. Fixes #114
Browse files Browse the repository at this point in the history
  • Loading branch information
ElPumpo committed Nov 6, 2022
1 parent 7224302 commit 98409ea
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.14.7] - 2022-11-06
### Fixed
- NVIDIA changed their website code, breaking TNUC. I've fixed it for now but a complete rewrite is needed to use their API... See issue #114

### Changed
- Bumped to .NET Framework 4.8

## [1.14.6] - 2022-06-26
### Fixed
- Non-DCH drivers are no longer supported by NVIDIA. So they are always opted to be installed. See issue #101
Expand Down
4 changes: 2 additions & 2 deletions TinyNvidiaUpdateChecker/MainConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -560,11 +560,11 @@ private static void GpuInfo()
// finish request
try {
gpuURL = $"https://www.nvidia.com/Download/processDriver.aspx?psid={psID}&pfid={pfID}&osid={osID}&lid={langID}&dtcid=1&ctk=0";

WebClient client = new WebClient();
Stream stream = client.OpenRead(gpuURL);
StreamReader reader = new StreamReader(stream);
processURL = reader.ReadToEnd();
processURL = "https:" + processURL; // NVIDIA broke this around 2022-10 so this is a quick fix until I rewrite this code
reader.Close();
stream.Close();
} catch (Exception ex) {
Expand Down Expand Up @@ -625,7 +625,7 @@ private static void GpuInfo()

// get driver URL
foreach (var child in node) {
if (child.Attributes["href"].Value.Contains("/content/DriverDownload-March2009/")) {
if (child.Attributes["href"].Value.Contains("/content/DriverDownloads/")) {
confirmURL = "https://www.nvidia.com" + child.Attributes["href"].Value.Trim();
break;
}
Expand Down
4 changes: 2 additions & 2 deletions TinyNvidiaUpdateChecker/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
// Minor Version
// Patch
// Following the Semantic Versioning 2.0.0 standard; see http://semver.org/spec/v2.0.0.html.
[assembly: AssemblyVersion("1.14.6")]
[assembly: AssemblyFileVersion("1.14.6")]
[assembly: AssemblyVersion("1.14.7")]
[assembly: AssemblyFileVersion("1.14.7")]
2 changes: 1 addition & 1 deletion TinyNvidiaUpdateChecker/TinyNvidiaUpdateChecker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TinyNvidiaUpdateChecker</RootNamespace>
<AssemblyName>TinyNvidiaUpdateChecker</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
Expand Down
2 changes: 1 addition & 1 deletion TinyNvidiaUpdateChecker/app.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

0 comments on commit 98409ea

Please sign in to comment.