Skip to content

Commit 6264360

Browse files
author
ComputerElite
committed
fix stuff I was to lazy tro fix pointed out by VRGeneration
1 parent 4f97f47 commit 6264360

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Program.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static void Main(string[] args)
3939
{
4040
Logger.SetLogFile(AppDomain.CurrentDomain.BaseDirectory + "Log.log");
4141
SetupExceptionHandlers();
42-
DowngradeManager.updater = new Updater("1.8.2", "https://github.com/ComputerElite/Oculus-downgrader", "Oculus downgrader", Assembly.GetExecutingAssembly().Location);
42+
DowngradeManager.updater = new Updater("1.8.3", "https://github.com/ComputerElite/Oculus-downgrader", "Oculus downgrader", Assembly.GetExecutingAssembly().Location);
4343
Logger.LogRaw("\n\n");
4444
Logger.Log("Starting Oculus downgrader version " + DowngradeManager.updater.version);
4545
if (args.Length == 1 && args[0] == "--update")
@@ -674,6 +674,7 @@ public void LaunchApp(AppReturnVersion selected, bool openDir = false)
674674
Logger.Log("QuestPatcher exited with exit code " + p.ExitCode + " which is not 0 indicating an error. Vanilla version will be installed.");
675675
Console.ForegroundColor = ConsoleColor.DarkYellow;
676676
Console.WriteLine("QuestPatcher was unable to patch the APK. I'll be installing the vanilla version.");
677+
Console.ForegroundColor= ConsoleColor.White;
677678
}
678679
}
679680

@@ -697,6 +698,11 @@ public void LaunchApp(AppReturnVersion selected, bool openDir = false)
697698
}
698699
}
699700
List<AndroidUser> users = interactor.SelectUsers("install the game version.");
701+
if(users.Count <= 0)
702+
{
703+
Error("No user selected. Maybe your Quest isn't connected. Please check the connection.");
704+
return;
705+
}
700706
apkArchive.Dispose();
701707
interactor.Uninstall(packageId, users);
702708

0 commit comments

Comments
 (0)