1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 18:32:54 +08:00
Commit Graph

818 Commits

Author SHA1 Message Date
Dean Herbert
68ebf64b2d
Fix dependabot line endings 2024-10-09 12:36:44 +09:00
dependabot[bot]
6a754222e4
Bump System.IO.Packaging from 8.0.0 to 8.0.1 in /osu.Desktop
Bumps [System.IO.Packaging](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.IO.Packaging
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 01:30:23 +00:00
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
ad3007eaad
Adjust ILocalUserPlayInfo to expose whether gameplay is in a paused/break state 2024-10-01 17:53:46 +09:00
Dean Herbert
9e9bfc3721
Update velopack with zstd changes
Closes https://github.com/ppy/osu/issues/29810.
2024-09-27 12:48:50 +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
18ab4ee929
Merge pull request #29812 from smallketchup82/add-beatmap-icon
Add beatmap icon to windows beatmap files
2024-09-14 10:14:30 +09:00
Dean Herbert
eb102479f4
Use beatmap icon for .osr and .osk for now 2024-09-14 02:47:19 +09:00
Dean Herbert
1204136af8
Update icon file with new design 2024-09-14 02:46:19 +09:00
Dan Balasescu
fd887b24fa
Merge pull request #29805 from smallketchup82/complete-disable-velopack
Completely disable Velopack when using an external updater
2024-09-11 16:27:24 +09:00
Dean Herbert
02f8f226f8
Merge pull request #29787 from peppy/fix-restart-notifications
Fix restart notifications appearing every 30 minutes in some cases
2024-09-11 02:59:59 +09:00
smallketchup82
f716cb4a7c
Change to using osu!(lazer) 2024-09-09 16:11:28 -04:00
smallketchup82
4ada0bf787
Differentiate lazer in menus 2024-09-09 12:49:36 -04:00
Dean Herbert
63b6f36a29
Add missing . 2024-09-09 18:09:28 +09:00
smallketchup82
d451415d5c
Move environment variable logic to static bool in OsuGameDesktop 2024-09-09 03:28:50 -04:00
smallketchup82
4ff72c5331
Add beatmap icon to windows beatmap files 2024-09-09 03:04:16 -04:00
smallketchup82
bf3597f711
Merge branch 'master' into complete-disable-velopack 2024-09-08 21:33:50 -04: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
smallketchup82
4cf057db8f
Completely disable velopack when using external update manager 2024-09-08 01:17:18 -04:00
Dean Herbert
9b189fd244
Fix windows check weirdness 2024-09-07 13:58:17 +09:00
smallketchup82
575da0992f
Fix file associations not updating & uninstalling 2024-09-06 16:16:40 -04: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
Dean Herbert
68e6fa286e
Make comment about velopack's init a bit more loud 2024-09-02 16:46:29 +09:00
Dean Herbert
f8a6a6a8ae
Request restart asynchronously to avoid blocking update thread 2024-09-02 16:43:46 +09:00
smallketchup82
42e1168b35
Remove github token variable & pass null for the github token 2024-09-02 01:23:05 -04:00
Dean Herbert
b990af6ada
Use full name 2024-09-02 13:08:14 +09:00
smallketchup82
a038799c47
Update osu.Desktop.csproj
bump version
2024-08-31 17:14:53 -04:00
Dan Balasescu
636ee50eb9
Rename to VelopackUpdateManager 2024-08-31 23:03:10 +09:00
Dan Balasescu
d5b52152f4
Merge branch 'master' into velopack 2024-08-31 15:44:21 +09:00
smallketchup82
fcede9abd7
Bump velopack version 2024-08-07 03:34:07 -04:00
Huo Yaoyuan
ae78c13684 Use Environment.IsPrivilegedProcess 2024-07-09 00:04:29 +08:00
smallketchup82
4898cff7a4
Restart patch 2024-07-04 18:25:02 -04: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
9e01cf7fc2
Move setupVelo logic higher up 2024-07-04 17:33:05 -04:00
smallketchup82
cae3607caf
Fix up restarting
Earlier I changed the restarting logic to not wait until the program
exits and instead try to facilitate restarting alone. This did not work,
and it became clear we'd need Velopack to do the restarting. This
reverts back and supposedly brings restarting logic in line with how
Velopack does it
2024-07-04 17:30:58 -04:00
smallketchup82
fae8f5f81b
Refactor VeloUpdateManager 2024-07-04 17:28:49 -04:00
smallketchup82
36a3765ee4
Replace with attemptexit to better display how restarting is borked 2024-06-27 12:57:24 -04:00
smallketchup82
04c8df065c
Merge branch 'master' into velopack 2024-06-26 22:11:08 -04:00
smallketchup82
1025e5b3cc
rewrite the restart function 2024-06-26 21:55:22 -04:00