Skip to content

Commit

Permalink
Remove InstallingUpdate progress notification
Browse files Browse the repository at this point in the history
Velopack won't install the updates while the program is open, it'll do
it in between restarts or before starting.
  • Loading branch information
smallketchup82 committed Jul 4, 2024
1 parent cae3607 commit c13f24d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions osu.Game/Localisation/NotificationsStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,6 @@ public static class NotificationsStrings
/// </summary>
public static LocalisableString DownloadingUpdate => new TranslatableString(getKey(@"downloading_update"), @"Downloading update...");

/// <summary>
/// "Installing update..."
/// </summary>
public static LocalisableString InstallingUpdate => new TranslatableString(getKey(@"installing_update"), @"Installing update...");

private static string getKey(string key) => $@"{prefix}:{key}";
}
}
6 changes: 0 additions & 6 deletions osu.Game/Updater/UpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,6 @@ public void StartDownload()
Text = NotificationsStrings.DownloadingUpdate;
}

public void StartInstall()
{
Progress = 0;
Text = NotificationsStrings.InstallingUpdate;
}

public void FailDownload()
{
State = ProgressNotificationState.Cancelled;
Expand Down

0 comments on commit c13f24d

Please sign in to comment.