We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7cee0 commit 9048508Copy full SHA for 9048508
src/Files.App/MainWindow.xaml.cs
@@ -181,6 +181,16 @@ public async Task InitializeApplicationAsync(object activatedEventArgs)
181
await mainPageViewModel.AddNewTabByPathAsync(typeof(PaneHolderPage), fileArgs.Files[index].Path);
182
}
183
break;
184
+
185
+ case IStartupTaskActivatedEventArgs startupArgs:
186
+ // Just launch the app with no arguments
187
+ rootFrame.Navigate(typeof(MainPage), null, new SuppressNavigationTransitionInfo());
188
+ break;
189
190
+ default:
191
192
193
194
195
196
if (!AppWindow.IsVisible)
0 commit comments