This commit is contained in:
Natsumi
2022-08-04 09:41:26 +12:00
parent 4f0949a480
commit a4e8c8db58
4 changed files with 129 additions and 92 deletions

View File

@@ -165,7 +165,9 @@ namespace VRCX
public void StartGameFromPath(string path, string arguments)
{
if (!path.EndsWith(".exe")) path = Path.Combine(path, "VRChat.exe");
if (!path.EndsWith(".exe"))
path = Path.Combine(path, "start_protected_game.exe");
Process.Start(new ProcessStartInfo
{
WorkingDirectory = Path.GetDirectoryName(path),