Skip to content

Commit

Permalink
インストーラーがなくなってたらスキップ
Browse files Browse the repository at this point in the history
  • Loading branch information
Freeesia committed Apr 6, 2024
1 parent d40fb28 commit 5a5f040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VdLabel/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private async ValueTask CheckAndDownload(CancellationToken stoppingToken)
this.HasUpdate = true;
}
// バージョンが新しい場合は通知
else if (new Version(updateInfo.Version) > this.version && !updateInfo.Skip && updateInfo.Path is not null)
else if (new Version(updateInfo.Version) > this.version && !updateInfo.Skip && updateInfo.Path is not null && File.Exists(updateInfo.Path))
{
ShowUpdateNotification(updateInfo.Version, updateInfo.Url, updateInfo.Path, false);
this.HasUpdate = true;
Expand Down

0 comments on commit 5a5f040

Please sign in to comment.