Skip to content

Commit 924d9a0

Browse files
authored
Fix: Fixed an issue where the app wouldn’t run as admin (#15389)
1 parent 5cba26e commit 924d9a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Files.App/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@ static bool ProcessPathPredicate(Process p)
9696
}
9797
}
9898

99+
// NOTE:
100+
// This has been commentted out since out-of-proc WinRT server seems not to support elevetion.
101+
// For more info, see the GitHub issue (#15384).
99102
// Now we can do the first WinRT server call
100-
Server.AppInstanceMonitor.StartMonitor(Environment.ProcessId);
103+
//Server.AppInstanceMonitor.StartMonitor(Environment.ProcessId);
101104

102105
var OpenTabInExistingInstance = ApplicationData.Current.LocalSettings.Values.Get("OpenTabInExistingInstance", true);
103106
var activatedArgs = AppInstance.GetCurrent().GetActivatedEventArgs();

0 commit comments

Comments
 (0)