This commit is contained in:
chi
2022-05-10 11:18:06 +09:00
parent 2d737c8256
commit 8d83d4a768
70 changed files with 596 additions and 511 deletions

View File

@@ -506,9 +506,20 @@ namespace Project
public static void RunExplorer(string arg)
{
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
si.Arguments = arg;
System.Diagnostics.Process.Start(si);
if(arg.StartsWith("http"))
{
System.Diagnostics.Process.Start(arg);
}
else
{
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
si.Arguments = arg;
System.Diagnostics.Process.Start(si);
}
}
#region "watchdog"