mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
2.4.2.7
This commit is contained in:
parent
47ba907c4a
commit
84342cf604
@ -1,5 +1,11 @@
|
||||
### Changelog
|
||||
|
||||
#### Version - 2.4.5.7 - 3/11/2021
|
||||
* Several fixes for working off the new CDN
|
||||
* Better detect failures in the launcher
|
||||
* The app now cleans up older versions (leaving a total of 2 previous versions)
|
||||
* The app now updates the launcher
|
||||
|
||||
#### Version - 2.4.2.6 - 2/26/2021
|
||||
* Cache Modlist images (based on the URL)
|
||||
* Load Gallery images off the GUI thread improving UI performance
|
||||
|
@ -6,8 +6,8 @@
|
||||
<AssemblyName>wabbajack-cli</AssemblyName>
|
||||
<Company>Wabbajack</Company>
|
||||
<Platforms>x64</Platforms>
|
||||
<AssemblyVersion>2.4.2.6</AssemblyVersion>
|
||||
<FileVersion>2.4.2.6</FileVersion>
|
||||
<AssemblyVersion>2.4.2.7</AssemblyVersion>
|
||||
<FileVersion>2.4.2.7</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>An automated ModList installer</Description>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
|
@ -97,7 +97,7 @@ namespace Wabbajack.Launcher
|
||||
byte[] data;
|
||||
try
|
||||
{
|
||||
data = await wc.DownloadDataTaskAsync(asset.BrowserDownloadUrlFast);
|
||||
data = await wc.DownloadDataTaskAsync(asset.BrowserDownloadUrl);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@ -209,21 +209,7 @@ namespace Wabbajack.Launcher
|
||||
{
|
||||
[JsonProperty("browser_download_url")]
|
||||
public Uri BrowserDownloadUrl { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public Uri BrowserDownloadUrlFast {
|
||||
get
|
||||
{
|
||||
if (BrowserDownloadUrl.ToString()
|
||||
.StartsWith("https://github.com/wabbajack-tools/wabbajack/releases/"))
|
||||
return new Uri(BrowserDownloadUrl.ToString()
|
||||
.Replace("https://github.com/wabbajack-tools/wabbajack/releases/",
|
||||
"https://releases.wabbajack.org/"));
|
||||
return BrowserDownloadUrl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
@ -4,8 +4,8 @@
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWPF>true</UseWPF>
|
||||
<AssemblyVersion>2.4.2.6</AssemblyVersion>
|
||||
<FileVersion>2.4.2.6</FileVersion>
|
||||
<AssemblyVersion>2.4.2.7</AssemblyVersion>
|
||||
<FileVersion>2.4.2.7</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>Wabbajack Application Launcher</Description>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
|
@ -63,7 +63,7 @@ namespace Wabbajack.Lib
|
||||
|
||||
if (release != default && launcherVersion != null && release.version > Version.Parse(launcherVersion.FileVersion!))
|
||||
{
|
||||
Utils.Log($"Updating Launcher from {launcherVersion} to {release.version}");
|
||||
Utils.Log($"Updating Launcher from {launcherVersion.FileVersion} to {release.version}");
|
||||
var tempPath = launcherFolder.Combine("Wabbajack.exe.temp");
|
||||
var client = new Client();
|
||||
client.UseChromeUserAgent();
|
||||
@ -81,6 +81,7 @@ namespace Wabbajack.Lib
|
||||
await tempPath.MoveToAsync(exePath);
|
||||
|
||||
Utils.Log("Finished updating wabbajack");
|
||||
await Metrics.Send("updated_launcher", $"{launcherVersion.FileVersion} -> {release.version}");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<AssemblyVersion>2.4.2.5</AssemblyVersion>
|
||||
<FileVersion>2.4.2.5</FileVersion>
|
||||
<AssemblyVersion>2.4.2.7</AssemblyVersion>
|
||||
<FileVersion>2.4.2.7</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>Wabbajack Server</Description>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
|
@ -6,8 +6,8 @@
|
||||
<UseWPF>true</UseWPF>
|
||||
<Platforms>x64</Platforms>
|
||||
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
||||
<AssemblyVersion>2.4.2.6</AssemblyVersion>
|
||||
<FileVersion>2.4.2.6</FileVersion>
|
||||
<AssemblyVersion>2.4.2.7</AssemblyVersion>
|
||||
<FileVersion>2.4.2.7</FileVersion>
|
||||
<Copyright>Copyright © 2019-2020</Copyright>
|
||||
<Description>An automated ModList installer</Description>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
|
Loading…
Reference in New Issue
Block a user