mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
FileSystemPlugin
Check for invalid paths [Open this directory] Action always appears at top is path is existing directory or parent is
This commit is contained in:
@@ -21,6 +21,7 @@ using UnhandledExceptionEventArgs = System.UnhandledExceptionEventArgs;
|
||||
namespace Wox {
|
||||
public static class EntryPoint {
|
||||
[STAThread]
|
||||
[System.Diagnostics.DebuggerStepThrough]
|
||||
public static void Main(string[] args) {
|
||||
AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle;
|
||||
System.Windows.Forms.Application.ThreadException += ErrorReporting.ThreadException;
|
||||
@@ -30,7 +31,7 @@ namespace Wox {
|
||||
Entry(args);
|
||||
}
|
||||
|
||||
|
||||
[System.Diagnostics.DebuggerStepThrough]
|
||||
private static void Entry(string[] args) {
|
||||
SingleInstanceManager manager = new SingleInstanceManager();
|
||||
manager.Run(args);
|
||||
|
||||
Reference in New Issue
Block a user