Skip to content

Commit

Permalink
Merge pull request #1961 from MoshiMoshi0/razer-chroma-update
Browse files Browse the repository at this point in the history
Razer chroma update
  • Loading branch information
diogotr7 authored Apr 16, 2020
2 parents 6ac6ec6 + 9ab9b4d commit b0d8f83
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Binary file modified Project-Aurora/Project-Aurora/RazerSdkWrapper.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public Control_Settings()

this.razer_wrapper_installed_version_label.Content = rzVersion.ToString();
this.razer_wrapper_installed_version_label.Foreground = new SolidColorBrush(RzHelper.IsSdkVersionSupported(rzVersion) ? Colors.LightGreen : Colors.PaleVioletRed);
this.razer_wrapper_supported_versions_label.Content = $"[{RzHelper.SupportedFromVersion}-{RzHelper.SupportedToVersion})";
this.razer_wrapper_supported_versions_label.Content = $"[{RzHelper.SupportedFromVersion}-{RzHelper.SupportedToVersion}]";

if (rzVersion == new RzSdkVersion())
this.razer_wrapper_uninstall_button.Visibility = Visibility.Hidden;
Expand Down
7 changes: 5 additions & 2 deletions Project-Aurora/Project-Aurora/Utils/RazerChromaUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ int DoUninstall(string filepath)

public static Task<string> GetDownloadUrlAsync() => Task.Run(() =>
{
using (var client = new WebClient())
return @"http://cdn.razersynapse.com/1574305048IqV1JPE5RazerChromaBroadcasterSetup_v3.4.1112.112110.exe";

// Commenting out in case it is usefull in future
/*using (var client = new WebClient())
{
var endpoint = "prod";
var json = JObject.Parse(client.DownloadString("https://discovery.razerapi.com/user/endpoints"));
Expand Down Expand Up @@ -116,7 +119,7 @@ public static Task<string> GetDownloadUrlAsync() => Task.Run(() =>
return node["DownloadURL"].InnerText;
return null;
}
}*/
});

public static Task<string> DownloadAsync() => Task.Run(async () =>
Expand Down

0 comments on commit b0d8f83

Please sign in to comment.