chore(installer): remove orphaned InstallerService DI registration
This commit is contained in:
@@ -90,8 +90,6 @@ public partial class App : Application
|
|||||||
// Core
|
// Core
|
||||||
sc.AddSingleton<InstallContext>();
|
sc.AddSingleton<InstallContext>();
|
||||||
sc.AddSingleton<PageResolver>();
|
sc.AddSingleton<PageResolver>();
|
||||||
sc.AddSingleton<InstallerService>();
|
|
||||||
|
|
||||||
// HTTP + release client
|
// HTTP + release client
|
||||||
sc.AddSingleton(_ => new HttpClient { Timeout = TimeSpan.FromSeconds(15) });
|
sc.AddSingleton(_ => new HttpClient { Timeout = TimeSpan.FromSeconds(15) });
|
||||||
sc.AddSingleton<IReleaseClient>(sp => new ReleaseClient(sp.GetRequiredService<HttpClient>()));
|
sc.AddSingleton<IReleaseClient>(sp => new ReleaseClient(sp.GetRequiredService<HttpClient>()));
|
||||||
|
|||||||
Reference in New Issue
Block a user