@@ -154,7 +154,7 @@ await API.StopwatchLogInfoAsync(ClassName, "Startup cost", async () =>
154
154
Ioc . Default . GetRequiredService < Portable > ( ) . PreStartCleanUpAfterPortabilityUpdate ( ) ;
155
155
156
156
API . LogInfo ( ClassName , "Begin Flow Launcher startup ----------------------------------------------------" ) ;
157
- API . LogInfo ( ClassName , "Runtime info:{ErrorReporting.RuntimeInfo()}" ) ;
157
+ API . LogInfo ( ClassName , $ "Runtime info:{ ErrorReporting . RuntimeInfo ( ) } ") ;
158
158
159
159
RegisterAppDomainExceptions ( ) ;
160
160
RegisterDispatcherUnhandledException ( ) ;
@@ -174,19 +174,16 @@ await API.StopwatchLogInfoAsync(ClassName, "Startup cost", async () =>
174
174
await PluginManager . InitializePluginsAsync ( ) ;
175
175
176
176
// Change language after all plugins are initialized because we need to update plugin title based on their api
177
- // TODO: Clean InternationalizationManager.Instance and InternationalizationManager.Instance.GetTranslation in future
178
177
await Ioc . Default . GetRequiredService < Internationalization > ( ) . InitializeLanguageAsync ( ) ;
179
178
180
179
await imageLoadertask ;
181
180
182
181
_mainWindow = new MainWindow ( ) ;
183
182
184
- API . LogInfo ( ClassName , "Dependencies Info:{ErrorReporting.DependenciesInfo()}" ) ;
185
-
186
183
Current . MainWindow = _mainWindow ;
187
184
Current . MainWindow . Title = Constant . FlowLauncher ;
188
185
189
- // main windows needs initialized before theme change because of blur settings
186
+ // Main windows needs initialized before theme change because of blur settings
190
187
Ioc . Default . GetRequiredService < Theme > ( ) . ChangeTheme ( ) ;
191
188
192
189
Encoding . RegisterProvider ( CodePagesEncodingProvider . Instance ) ;
@@ -270,7 +267,7 @@ private void RegisterExitEvents()
270
267
}
271
268
272
269
/// <summary>
273
- /// let exception throw as normal is better for Debug
270
+ /// Let exception throw as normal is better for Debug
274
271
/// </summary>
275
272
[ Conditional ( "RELEASE" ) ]
276
273
private void RegisterDispatcherUnhandledException ( )
@@ -279,7 +276,7 @@ private void RegisterDispatcherUnhandledException()
279
276
}
280
277
281
278
/// <summary>
282
- /// let exception throw as normal is better for Debug
279
+ /// Let exception throw as normal is better for Debug
283
280
/// </summary>
284
281
[ Conditional ( "RELEASE" ) ]
285
282
private static void RegisterAppDomainExceptions ( )
@@ -288,7 +285,7 @@ private static void RegisterAppDomainExceptions()
288
285
}
289
286
290
287
/// <summary>
291
- /// let exception throw as normal is better for Debug
288
+ /// Let exception throw as normal is better for Debug
292
289
/// </summary>
293
290
[ Conditional ( "RELEASE" ) ]
294
291
private static void RegisterTaskSchedulerUnhandledException ( )
0 commit comments