|
|
|
@ -334,7 +334,10 @@ public sealed class App : Application
|
|
|
|
|
services.AddSingleton<IPyRunner, PyRunner>(); |
|
|
|
|
services.AddSingleton<IUpdateHelper, UpdateHelper>(); |
|
|
|
|
services.AddSingleton<INavigationService, NavigationService>(); |
|
|
|
|
|
|
|
|
|
services.AddSingleton<ITrackedDownloadService, TrackedDownloadService>(); |
|
|
|
|
services.AddSingleton<IDisposable>(provider => |
|
|
|
|
(IDisposable) provider.GetRequiredService<ITrackedDownloadService>()); |
|
|
|
|
|
|
|
|
|
// Rich presence |
|
|
|
|
services.AddSingleton<IDiscordRichPresenceService, DiscordRichPresenceService>(); |
|
|
|
|