Guard against IndexOutOfRange when parsing launch args

This commit is contained in:
Henry Lin 2021-07-23 10:23:31 +08:00
parent b650d0d17c
commit 88d9e2ec06

View File

@ -32,7 +32,7 @@ namespace osu.Desktop
var split = arg.Split('=');
var key = split[0];
var val = split[1];
var val = split.Length > 1 ? split[1] : string.Empty;
switch (key)
{