mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +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>
|
/// <param name="path">The path.</param>
|
||||||
internal void StartChildProcess(string path)
|
internal void StartChildProcess(string path)
|
||||||
{
|
{
|
||||||
using (var process = Process.Start(path))
|
try
|
||||||
startedProcesses.Add(path, new HashSet<int>() { process.Id });
|
{
|
||||||
|
using (var process = Process.Start(path))
|
||||||
|
if (process != null)
|
||||||
|
startedProcesses.Add(path, new HashSet<int>() { process.Id });
|
||||||
|
} catch { }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user