Release Update Logic

This commit is contained in:
Serge
2024-01-30 14:35:03 +01:00
parent 621835076b
commit e57f61b07a
2 changed files with 4 additions and 3 deletions

View File

@@ -28,4 +28,4 @@ jobs:
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
run: | run: |
gh release upload ${{ github.ref_name }} GHelper.exe GHelper.zip PluginAdvancedSettings.zip gh release upload ${{ github.ref_name }} GHelper.exe GHelper.zip

View File

@@ -154,8 +154,9 @@ namespace Ryzen
public static void DownloadRing() public static void DownloadRing()
{ {
var appVersion = new Version(Assembly.GetExecutingAssembly().GetName().Version.ToString()); //var appVersion = new Version(Assembly.GetExecutingAssembly().GetName().Version.ToString());
string requestUri = "https://github.com/seerge/g-helper/releases/download/v" + appVersion.Major + "." + appVersion.Minor + "/PluginAdvancedSettings.zip"; //string requestUri = "https://github.com/seerge/g-helper/releases/download/v" + appVersion.Major + "." + appVersion.Minor + "/PluginAdvancedSettings.zip";
string requestUri = "https://github.com/seerge/g-helper/releases/download/v0.150/PluginAdvancedSettings.zip";
Uri uri = new Uri(requestUri); Uri uri = new Uri(requestUri);