1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 14:43:22 +08:00
Commit Graph

846 Commits

Author SHA1 Message Date
Susko3
dc23534a57 Merge branch 'master' into show-in-windows-association-menus and adapt ApplicationCapability 2025-01-08 16:15:22 +00:00
Dean Herbert
e131a6c39f
Add explicit ToString() to avoid sending LocalisableString to registry function 2025-01-08 20:19:38 +09:00
Dean Herbert
b628880214
Change association localisation flow to make logical sense 2025-01-08 15:57:39 +09:00
Dean Herbert
d04947d400
Don't use records they are ugly
Refactor `WindowsAssociationManager` to be usable
2025-01-08 15:54:48 +09:00
Dean Herbert
6f42b59e31
Upgrade more packages again
This also downgrades nunit to be aligned across all projects. Getting it
up-to-date is a bit high effort.
2025-01-08 03:13:11 +09:00
Susko3
2381975359 Clear out old protocol data when installing
If we're the only capable app, windows will open us by default.
2025-01-07 00:07:04 +00:00
Susko3
31bf162db6 Register URI handler as ProgID and add that to Capabilities 2025-01-07 00:00:14 +00:00
Susko3
64843a5e83 Clear out old way of specifying default association
If we're the only app for a filetype, windows will automatically associate us.
And if a new app is installed, it'll prompt the user to choose a default.
2025-01-06 23:55:35 +00:00
Susko3
56eec929ca Register application capability with file extensions
https://learn.microsoft.com/en-us/windows/win32/shell/default-programs#registering-an-application-for-use-with-default-programs
2025-01-06 23:41:44 +00:00
Susko3
804fe0013d Make ProgramId public 2025-01-06 23:35:05 +00:00
Salman Alshamrani
1c48fdb235 Add Hidden cursor state flag on all platforms 2024-12-21 14:03:20 -05:00
Dean Herbert
e22f3b7d05
Merge branch 'master' into named-pipe 2024-12-07 10:42:55 +09:00
Susko3
837744b0aa Use LocalisationManager.GetLocalisedString() instead of bindable hack
Made possible by https://github.com/ppy/osu-framework/pull/6377.
2024-12-03 23:29:39 +00:00
Dean Herbert
75781e3436
Update usages of IPC in line with framework changes 2024-12-03 16:34:23 +09:00
Dean Herbert
e0fdcaf523
Merge pull request #30848 from Joehuu/dicord-fix-beatmap-button-visibility
Fix discord "view beatmap" button being shown when editing and hide identifiable information is set
2024-11-28 13:29:09 +09:00
Salman Alshamrani
24c0799680 Move beatmap ID lookup to UesrActivity 2024-11-27 16:54:51 -05:00
Joseph Madamba
62837c7e53
Fix discord "view beatmap" button being shown when editing and hide identifiable information is set 2024-11-22 17:35:33 -08:00
Salman Alshamrani
74daf85e48 Replace bindable with an event 2024-11-18 06:47:22 -05:00
Salman Alshamrani
4a628287e2 Decouple game-wide ruleset bindable and refactor LocalUserStatisticsProvider
This also throws away the logic of updating
`API.LocalUser.Value.Statistics`. Components should rely on
`LocalUserStatisticsProvider` instead for proper behaviour and ability
to update on statistics updates.
2024-11-17 18:13:37 -05:00
Salman Alshamrani
6c8a900dcc Merge branch 'master' into user-statistics-provider 2024-11-17 15:34:56 -05:00
Dan Balasescu
c578c46a07
Update Velopack to 0.0.915 2024-11-16 02:03:48 +09:00
Bartłomiej Dach
8076113907
Revert velopack
Because even if you somehow bypass the breakage that bricks your install
by installing the missing libssl-1.0 or whatever
(https://github.com/ppy/osu/issues/30648#issuecomment-2478856055),
there's another brick upstream
(https://github.com/ppy/osu/issues/30648#issuecomment-2478926177,
https://github.com/velopack/velopack/issues/355).

Can we even downgrade like this? No idea. How does one test this? No
idea. At this point I am like a headless chicken, screaming into the
void trying to restore any semblance of order into my crumbling
universe.

If this is tried and linux is still broken with the libssl garbage, then
the `osulazer-2024.1115.1-linux-x64-*.nupkg` assets should be pulled
from the release, which should be enough to stop the game from
auto-updating. Maybe the appimage itself can stay up and people can
upgrade manually if they so desire. Or maybe not. Who knows.
2024-11-15 15:32:03 +01:00
Dean Herbert
0760451f3f
Merge branch 'master' into user-statistics-provider 2024-11-13 15:21:55 +09:00
Dean Herbert
ee4d58544d
Update framework (and other common packages) 2024-11-11 21:58:13 +09:00
Dan Balasescu
8d7b19d6cf
Fix incorrectly translated NVAPI ABI 2024-11-09 15:11:47 +09:00
Bartłomiej Dach
d8fc7b1803
Add extended logging to NVAPI operations
To help diagnose https://github.com/ppy/osu/issues/30546.
2024-11-08 10:29:13 +01:00
Salman Alshamrani
663b769c71 Update DiscordRichPresence to use new statistics provider component 2024-10-25 03:30:43 -04:00
Bartłomiej Dach
a7fcfd5f0d
Fix discord RPC complaining yet again if given a single space character as activity state / details
Closes https://github.com/ppy/osu/issues/30178.

Really, discord?
2024-10-10 13:59:18 +02:00
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