Skip to content

Commit

Permalink
Change dynamic version number location
Browse files Browse the repository at this point in the history
  • Loading branch information
FalconNL93 committed Dec 25, 2022
1 parent eb19635 commit feace90
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
AppName: "WSL Toolbox"
AppDescription: "WSL Toolbox allows you to manage your WSL Distributions through an easy to use interface."
AppExecutable: "toolbox.exe"
AppVersion: '0.6.0.${{ github.run_number }}'
AppVersion: '0.6.${{ github.run_number }}.0'
AppUrl: "https://github.com/FalconNL93/wsltoolbox"
AppOwner: "FalconNL93"
SetupOutputFile: "wsltoolbox-setup"
Expand Down
5 changes: 5 additions & 0 deletions WslToolbox.UI/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Diagnostics;
using System.Net.Http.Headers;
using System.Reflection;
using Windows.ApplicationModel;
using CommunityToolkit.Mvvm.Messaging;
Expand Down Expand Up @@ -60,6 +61,10 @@ public App()
services.AddHttpClient<UpdateService>(c =>
{
c.BaseAddress = new Uri("https://raw.githubusercontent.com/FalconNL93/manifests/main/");
c.DefaultRequestHeaders.CacheControl = new CacheControlHeaderValue
{
NoCache = true
};
});

// Services
Expand Down
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $AppUuid = 'FalconNL93.WSLToolbox';
$AppName = "WSL Toolbox"
$AppDescription = "WSL Toolbox allows you to manage your WSL Distributions through an easy to use interface."
$AppExecutable = "toolbox.exe";
$AppVersion = '0.6.0.1';
$AppVersion = '0.6.17.0';
$AppUrl = "https://github.com/FalconNL93/wsltoolbox";
$AppOwner = "FalconNL93"
$SetupOutputFile = "wsltoolbox-0.6-$Platform";
Expand Down Expand Up @@ -113,4 +113,4 @@ Switch ($Action)

break;
}
}
}

0 comments on commit feace90

Please # to comment.