1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 23:47:25 +08:00
Commit Graph

16 Commits

Author SHA1 Message Date
Dan Balasescu
c3f2c82b10
Remove unused parameter 2024-10-07 19:48:57 +09:00
Dan Balasescu
7cc6fe3819
Return true while in gameplay
A `false` value marks the user as being on the latest release, and
notifies them as such when clicking the button in settings. In reality,
we don't know whether this is the case yet - we're just deferring the
check.

Somewhat minor change because the chance of a user manually going into
settings and clicking the button is very small.
2024-10-07 19:35:09 +09:00
Dean Herbert
38ee824b12
Add second call of runOutsideGameplay on update progress notification
At this point the update is already started in the background but I
guess we can still block the notification from interrupting the user.
2024-10-07 17:07:25 +09:00
Dean Herbert
1f45b2134f
Remove unnecessary runOutsideOfGameplay call 2024-10-07 17:04:52 +09:00
Dean Herbert
8773c34fdd
Rename enum to non-plural now that it won't conflict 2024-10-01 19:55:46 +09:00
Dean Herbert
4b1c2c09ee
Avoid updates and update notifications appearing in more gameplay cases 2024-10-01 17:53:59 +09:00
Dean Herbert
df0966abb2
Update velopack and switch to using async version of WaitExitThenApplyUpdates 2024-09-26 01:12:19 +09:00
Dean Herbert
19e4cc84d5
Also schedule a re-check on download failure 2024-09-09 01:58:09 +09:00
Dean Herbert
10e84d72e5
Fix restart notifications appearing every 30 minutes
If a user was to manually check for updates via the button, the recheck
would have been fired. This is a recent regression.

I kinda want to reorganise this code (the button press for check for
udpates shouldn't even get close to the recheck code IMO) but for now
this seems like one we should quickly fix.

Addresses https://github.com/ppy/osu/discussions/29774.
2024-09-08 23:13:17 +09:00
Dean Herbert
abd74ab41c
Add note about being able to apply a newer update during runtime 2024-09-04 19:41:40 +09:00
Dean Herbert
e564e8c048
Add todo about fixing stutter on update application 2024-09-04 16:08:18 +09:00
Dean Herbert
b61023385a
Don't log probable network failures to sentry 2024-09-03 19:16:15 +09:00
Dean Herbert
08224b416e
Simplify update process by caching pending update info and early-handling edge case 2024-09-03 19:11:34 +09:00
Dean Herbert
cd9b82253e
Pass through correct update to apply when calling WaitExitThenApplyUpdates 2024-09-02 17:20:33 +09:00
smallketchup82
42e1168b35
Remove github token variable & pass null for the github token 2024-09-02 01:23:05 -04:00
Dan Balasescu
636ee50eb9
Rename to VelopackUpdateManager 2024-08-31 23:03:10 +09:00