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
smallketchup82
72cf6bb12c
Allow downgrading
...
Also better address UpdateManager conflict
2024-07-04 18:00:45 -04:00
smallketchup82
6a03092944
Reformat
2024-07-04 17:45:34 -04:00
smallketchup82
fae8f5f81b
Refactor VeloUpdateManager
2024-07-04 17:28:49 -04:00
smallketchup82
0ee89183cc
initial implementation
2024-06-26 15:25:41 -04:00
Dean Herbert
12a148d108
Use new initialisation structure for github sourced update manager
2023-11-09 12:26:41 +09:00
Dean Herbert
7cf50b1e18
Disallow game to check for updates while gameplay is active
2023-05-23 18:06:04 +09:00
Dan Balasescu
7bc8908ca9
Partial everything
2022-11-27 00:00:27 +09:00
Dean Herbert
eca241e9a7
Move UpdateProgressNotification
to base UpdateManager
class
2022-09-12 14:52:11 +09:00
Dean Herbert
d13e353a53
Fix double colour application in update progress notification
...
I'd like to restore it to yellow, but let's clean the slate first.
2022-09-02 03:03:35 +09:00
andy840119
8d175bc402
Remove the null check.
2022-08-02 23:14:08 +08:00
andy840119
78cc28d75f
Remove nullable disable annotation and fix the api broken.
2022-08-02 22:29:54 +08:00
Dean Herbert
50e40756c4
Rename GracefullyExit
to AttemptExit
2022-06-19 12:34:44 +09:00
Dan Balasescu
f8830c6850
Automated #nullable processing
2022-06-17 16:37:17 +09:00
Salman Ahmed
94335c2938
Update further usages to cache/resolve via interface
2022-04-19 00:18:10 +03:00
Dean Herbert
043599081b
Split out INotificationOverlay
to allow for easier testing
2022-04-18 20:14:01 +09:00
Dean Herbert
6a4d731eb3
Update obsolete usages in line with Clowd.Squirrel
changes
2022-03-02 17:43:51 +09:00
Dean Herbert
1dc1de3d1f
Close a failed update notification immediately
...
Fixes visual issue pointed out at
https://github.com/ppy/osu/discussions/15653#discussioncomment-1679263 .
2021-11-24 19:05:53 +09:00
Dean Herbert
d600a73277
Disable cancelling of update via notification
2021-11-17 11:41:42 +09:00
Dean Herbert
47a593ad7d
Force a re-check on any exception being thrown
2021-07-12 14:55:09 +09:00
Dean Herbert
a9250a0d98
Limit update notifications to once per startup
...
This logic was intentionally designed to continue to prompt the user to
update if they haven't, but that seems pretty anti-user. The change will
stop the update prompts from showing more than once per game startup,
unless manually invoked by the user a second time.
Closes https://github.com/ppy/osu/issues/13821 .
2021-07-09 18:23:30 +09:00
Dean Herbert
f2d9d78455
Fix some incorrectly invoked async
calls
2021-07-02 14:43:48 +09:00
Dean Herbert
b1cd01ceb8
Apply ConfigureAwait changes to game side
2021-03-08 14:36:35 +09:00
Dean Herbert
de47392e3d
Display the "restart to update" notification on checking for update after dismissal
2020-10-06 13:19:57 +09:00
Dean Herbert
22b0105d62
Show a notification if checking for updates via button and there are none available
2020-10-06 13:00:02 +09:00
Dean Herbert
6beb28b685
Rename method to be less bad
2020-06-12 18:07:39 +09:00
Dean Herbert
95f57ca88c
Remove duplicate calls to CheckForUpdatesAsync
2020-06-12 18:05:23 +09:00
Dean Herbert
6296cd62d0
Merge branch 'master' into update-button
2020-06-12 18:00:36 +09:00
Craftplacer
101604e741
Redesign classes and generally improve code
2020-06-08 00:39:33 +02:00
smoogipoo
f3b5149648
Move some suggestions to warnings, resolve issues
2020-06-03 16:48:44 +09:00
Craftplacer
ebd1df8c28
Change property name to CanCheckForUpdate
2020-05-08 02:50:58 +02:00
Craftplacer
3c24ca08d0
Check whether the build is deployed within the public check updates method
2020-05-08 02:48:27 +02:00
Craftplacer
e6ad28a1cb
Use property instead of type checking
2020-05-08 02:09:37 +02:00
Craftplacer
836efe3f7c
Initial commit
2020-05-07 08:07:22 +02:00
alex
0e2ccac33b
Add spaces to comments
2020-05-04 18:36:24 -07:00