Skip to content

Commit

Permalink
Fixed #230
Browse files Browse the repository at this point in the history
• v0.8.24121 release
  • Loading branch information
Alex4SSB committed Dec 30, 2024
1 parent 51c55b1 commit 39e049a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ADB Explorer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private async void FinalizeSplash()
RuntimeSettings.MainWinRect = new Rect(PointToScreen(new(0, 0)), new Size(ActualWidth, ActualHeight));

Version version = new(Properties.Resources.AppVersion);
if (version > Settings.LastVersion)
if (version > new Version(Settings.LastVersion))
{
var res = await DialogService.ShowConfirmation(
S_NEW_VERSION_MSG,
Expand All @@ -171,7 +171,7 @@ private async void FinalizeSplash()
if (res.Item1 is ContentDialogResult.Primary)
Process.Start(Data.RuntimeSettings.DefaultBrowserPath, $"\"https://github.com/Alex4SSB/ADB-Explorer/releases/tag/v{Properties.Resources.AppVersion}\"");

Settings.LastVersion = version;
Settings.LastVersion = Properties.Resources.AppVersion;
}
}

Expand Down
2 changes: 1 addition & 1 deletion ADB Explorer/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ADB Explorer/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<value>ADB Explorer</value>
</data>
<data name="AppVersion" xml:space="preserve">
<value>0.8.24120</value>
<value>0.8.24121</value>
</data>
<data name="ProgressRedirectionHash_ARM" xml:space="preserve">
<value>82FF56F4D68C1AB82970C370A9710593</value>
Expand Down
6 changes: 3 additions & 3 deletions ADB Explorer/Services/AppInfra/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ public bool ShowWelcomeScreen
set => Set(ref showWelcomeScreen, value);
}

private Version lastVersion;
private string lastVersion;

public Version LastVersion
public string LastVersion
{
get => Get(ref lastVersion, new(0, 0, 0));
get => Get(ref lastVersion, "0.0.0");
set => Set(ref lastVersion, value);
}

Expand Down
2 changes: 1 addition & 1 deletion ADB Package/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Identity
Name="57163AlexSSB.ADBExplorer"
Publisher="CN=23CA18F3-0DFA-4F77-B8D7-9EF595185D27"
Version="0.8.24120.0" />
Version="0.8.24121.0" />

<Properties>
<DisplayName>ADB Explorer</DisplayName>
Expand Down

0 comments on commit 39e049a

Please sign in to comment.