diff --git a/EnvyUpdate/InfoWindow.xaml b/EnvyUpdate/InfoWindow.xaml
index b90f4d3..6673c08 100644
--- a/EnvyUpdate/InfoWindow.xaml
+++ b/EnvyUpdate/InfoWindow.xaml
@@ -11,6 +11,6 @@
-
+
diff --git a/EnvyUpdate/MainWindow.xaml.cs b/EnvyUpdate/MainWindow.xaml.cs
index 40a018a..8748023 100644
--- a/EnvyUpdate/MainWindow.xaml.cs
+++ b/EnvyUpdate/MainWindow.xaml.cs
@@ -151,6 +151,7 @@ namespace EnvyUpdate
}
//Temporary Studio Driver override logic until I have figured out how to detect it automatically
+ //TODO
try
{
if (radioSD.IsChecked == true)
@@ -164,6 +165,11 @@ namespace EnvyUpdate
gpuURL = "http://www.nvidia.com/Download/processDriver.aspx?psid=" + psid.ToString() + "&pfid=" + pfid.ToString() + "&osid=" + osid.ToString() + "&dtcid=" + dtcid.ToString() + "&dtid=" + dtid.ToString(); // + "&lid=" + langid.ToString();
WebClient c = new WebClient();
gpuURL = c.DownloadString(gpuURL);
+ if (!gpuURL.Contains("://"))
+ {
+ //This means a relative link was used.
+ gpuURL = "https://www.nvidia.com/Download/" + gpuURL;
+ }
string pContent = c.DownloadString(gpuURL);
var pattern = @"Windows\/\d{3}\.\d{2}";
Regex rgx = new Regex(pattern);
diff --git a/EnvyUpdate/Util.cs b/EnvyUpdate/Util.cs
index 52dc444..47ae34d 100644
--- a/EnvyUpdate/Util.cs
+++ b/EnvyUpdate/Util.cs
@@ -385,5 +385,11 @@ namespace EnvyUpdate
return 1;
}
+
+ public static void DownloadFile(string fileURL, string savePath)
+ {
+ //TODO Implement downloading
+ //TODO implement progress bar
+ }
}
}
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index e6d81fe..a8fca58 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2021 Jakob Senkl
+Copyright (c) 2019-2022 Jakob Senkl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal