mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Fix auto launch after invalid shortcut (#622)
This commit is contained in:
@@ -217,8 +217,12 @@ namespace VRCX
|
||||
/// <param name="path">The path.</param>
|
||||
internal void StartChildProcess(string path)
|
||||
{
|
||||
using (var process = Process.Start(path))
|
||||
startedProcesses.Add(path, new HashSet<int>() { process.Id });
|
||||
try
|
||||
{
|
||||
using (var process = Process.Start(path))
|
||||
if (process != null)
|
||||
startedProcesses.Add(path, new HashSet<int>() { process.Id });
|
||||
} catch { }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user