mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 23:03:51 +02:00
Rework Startup Args (#946)
* Rework startup args * Preserve previous startup args on re-launch * Ignore subprocess when checking for duplicate processes * Cleanup code * Remove extra process list grabbing * Use `IsUpgradePrefix` when using `RestartApplication` * Change `ProxyServerPrefix` to `ProxyUrlPrefix`
This commit is contained in:
@@ -59,8 +59,8 @@ namespace VRCX
|
||||
|
||||
private void SetProxy()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(StartupArgs.ProxyUrl))
|
||||
ProxyUrl = StartupArgs.ProxyUrl;
|
||||
if (!string.IsNullOrEmpty(StartupArgs.LaunchArguements.ProxyUrl))
|
||||
ProxyUrl = StartupArgs.LaunchArguements.ProxyUrl;
|
||||
|
||||
if (string.IsNullOrEmpty(ProxyUrl))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user