File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/AppVNext.Notifier.ConsoleUwp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ class Program
25
25
/// <param name="args">Arguments for the notification.</param>
26
26
static void Main ( string [ ] args )
27
27
{
28
+ //Initialize application type. TODO: Replace this with dependency injection.
29
+ Globals . ApplicationType = ApplicationTypes . UwpConsole ;
30
+
28
31
// Register AUMID, COM server, and activator
29
32
DesktopNotificationManagerCompat . RegisterAumidAndComServer < NotifierActivator > ( "AppVNextNotifier" ) ;
30
33
DesktopNotificationManagerCompat . RegisterActivator < NotifierActivator > ( ) ;
@@ -36,9 +39,6 @@ static void Main(string[] args)
36
39
}
37
40
else
38
41
{
39
- //Initialize application type. TODO: Replace this with dependency injection.
40
- Globals . ApplicationType = ApplicationTypes . UwpConsole ;
41
-
42
42
var arguments = ArgumentManager . ProcessArguments ( args ) ;
43
43
44
44
if ( arguments == null )
You can’t perform that action at this time.
0 commit comments