Commit Graph

163 Commits

Author SHA1 Message Date
smallketchup82 d451415d5c
Move environment variable logic to static bool in OsuGameDesktop 2024-09-09 03:28:50 -04:00
Dean Herbert f8a6a6a8ae
Request restart asynchronously to avoid blocking update thread 2024-09-02 16:43:46 +09:00
Dan Balasescu 636ee50eb9
Rename to VelopackUpdateManager 2024-08-31 23:03:10 +09:00
smallketchup82 4898cff7a4
Restart patch 2024-07-04 18:25:02 -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 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
smallketchup82 0ee89183cc
initial implementation 2024-06-26 15:25:41 -04:00
Susko3 45ed86f46c Add back `SDL2BatteryInfo` 2024-05-23 12:53:33 +02:00
Susko3 3411ebc4af Move `SDL3BatteryInfo` to separate file 2024-05-23 12:50:06 +02:00
Dean Herbert d0b1ebff5a
Revert "Temporary rollback of framework / SDL3"
This reverts commit d7d569cf4e.
2024-05-22 16:29:39 +08:00
Dean Herbert d7d569cf4e
Temporary rollback of framework / SDL3 2024-05-21 14:36:16 +08:00
Susko3 14c26926f3 Upgrade to SDL3 2024-04-09 09:55:50 +02:00
Dean Herbert 91483bdc2f
Merge pull request #27001 from Susko3/windows-file-uri-association
Associate with files and URIs on windows
2024-03-01 11:26:44 +08:00
Dan Balasescu 069b400dd0
Move manager to desktop game 2024-02-27 19:36:03 +09:00
Susko3 1dc54d6f25 Fix stable install path lookup
`osu` is the `osu://` protocol handler, which gets overriden by lazer.
Instead, use `osu!` which is the stable file handler.
2024-02-08 00:54:48 +01:00
Susko3 f9d257b99e Install associations as part of initial squirrel install 2024-02-07 21:56:39 +01:00
Susko3 4ec9d26657 Inline constants 2024-02-05 14:16:35 +01:00
Susko3 2f4211249e Use cleaner way to specify .exe path 2024-02-05 13:12:03 +01:00
Susko3 2bac09ee00 Only associate on a deployed build
Helps to reduce clutter when developing
2024-02-03 17:23:59 +01:00
Susko3 03578821c0 Associate on startup 2024-02-03 17:04:06 +01:00
Susko3 e38ac4185c Update inline with framework `IWindow` changes 2023-07-01 19:02:09 +02:00
Dean Herbert c3f772f0da Add method to queue a restart after app is exited (when supported) 2023-06-21 19:06:28 +09:00
Salman Ahmed 25fa4a2eb5 Move `DragDrop` handling to base game implementation for iOS support 2023-06-17 20:30:22 +03:00
Dean Herbert 09899819c9
Merge pull request #22914 from Susko3/remove-arbitrary-extension-limitation
Remove arbitrary extension limitation from drag and drop imports
2023-03-20 14:55:03 +09:00
Dean Herbert 11f52d5bf4 Remove unused using statement 2023-03-20 14:01:35 +09:00
Susko3 b254dbd7ca Remove arbitrary extension limitation from drag and drop imports
`OsuGameBase` already properly handles multiple extensions in the same import.
2023-03-19 17:37:49 +01:00
Susko3 48b6e214af Fix URL handling on macOS 2023-03-19 17:14:25 +01:00
Susko3 5087377da6 Use IPC archive import in `OsuGameDesktop` 2023-02-03 18:57:50 +01:00
Dan Balasescu 7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
Salman Ahmed 27ce3d8342 Fix input settings not displaying in visual test browser 2022-10-21 01:52:19 +03:00
Dean Herbert e06ece7531 Update framework 2022-10-05 14:19:51 +09:00
Susko3 38a8b9cf0a Add battery info for desktop platforms 2022-07-30 14:26:19 +02:00
Susko3 cf7af0061c Add Touch input handler settings section 2022-07-16 15:20:15 +02:00
Bartłomiej Dach 6807d0e44f
Merge branch 'master' into osu-link-ipc 2022-06-21 07:27:35 +02:00
Bartłomiej Dach ee96d84ffa
Merge branch 'master' into input-settings 2022-06-20 22:55:43 +02:00
Bartłomiej Dach 330af7ec74
Handle `osu://` scheme links via IPC in desktop game 2022-06-20 21:26:22 +02:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Dean Herbert 6a4d731eb3 Update obsolete usages in line with `Clowd.Squirrel` changes 2022-03-02 17:43:51 +09:00
Susko3 214b2724de Merge branch 'master' into input-settings
# Conflicts:
#	osu.Game/OsuGameBase.cs
#	osu.iOS/OsuGameIOS.cs
2022-02-12 11:48:46 +01:00
Susko3 6e4214de4d Move `VersionManager` from `osu.Desktop` to `osu.Game` 2022-01-15 19:42:38 +01:00
Susko3 f3eaa95041 Move input handler settings creation to `OsuGameBase` 2022-01-15 14:53:41 +01:00
Salman Ahmed d92f5039cd Reorder version overlay to display behind game-wide overlays 2021-12-13 06:53:18 +03:00
Dean Herbert 3fe89293af Add update manager which performs no update action
This is to be used in cases where updates are handled by an external
means. See
https://github.com/flathub/flathub/pull/2619#issuecomment-969731305 for
initial usage.
2021-11-16 12:11:13 +09:00
Dean Herbert 6944151486 Apply batch fixing of built-in types using `var` 2021-10-27 13:04:41 +09:00
Dean Herbert d5d5a4d0d7 Actually combine the path 2021-06-02 15:13:21 +09:00
Dean Herbert bf216687e1 Fix osu!stable directory selection failing if no `Songs` folder is present at install location 2021-06-02 15:05:06 +09:00
Christine Chen a2723f3f57 Perform elevated check asynchronously, use a separate function w/ switch statement 2021-04-26 22:44:22 -04:00
Christine Chen c3bad1d4c5 Rename AdminChecker to ElevatedPrivilegesChecker, refactor elevated check 2021-04-26 21:05:18 -04:00