public static void BeginInputOption() { Con.WriteSeperator(); var sys = Environment.Version; // Gets Current Installed version var tar = BuildInfo.TargetDotNETVer; if (!(sys.Major == tar.Major && sys.Minor == tar.Minor && sys.Build >= tar.Build)) { if (BuildInfo.isWindows) { MessageBox.Show("Make sure you have the required packages installed on your machine\n" + ".NET Desktop Runtime v6.0.0+: https://link.bslegacy.com/dotNET_6-0-1 \n" + "For DepotDownloader: .NET Runtime v5.0.10+: https://link.bslegacy.com/dotNET_5-0-10 \n\n" + "These MUST be installed in order to use this app properly.", "Required Libraries Needed", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation); } else { try { var s = File.ReadAllLines($"{AppDomain.CurrentDomain.BaseDirectory}_INSTALL THIS FIRST.txt"); foreach (var s1 in s) { Console.WriteLine(s1); } } catch { Con.Error("_INSTALL THIS FIRST.txt is null"); Con.Space(); Con.Log("Follow the instructions on the opened webpage: https://bslegacy.com/dl/CA-Utility/LinuxInstallGuide"); Process.Start("https://bslegacy.com/dl/CA-Utility/LinuxInstallGuide"); } } } Con.Log("Select a step to get started"); Con.InputOption("1", "\tDownload a version of Beat Saber"); Con.InputOption("2", "\tInstall to default Steam directory", ConsoleColor.Red, "Option Removed", ConsoleColor.DarkRed); Con.InputOption("3", "\tMod current install"); Con.InputOption("4", "\tConvert Songs (Change Newer songs to older format, for older games)"); Con.InputOption("5", "\tPlay Game"); Con.Space(); Con.InputOption("6", "\tExit Program"); Con.Space(); Con.Input(); stepInput = Console.ReadLine(); Con.ResetColors(); Con.Space(); switch (stepInput) { case "1": SelectGameVersion(true); break; case "2": Install.InstallGame(); break; case "3": SelectGameVersion(false); break; case "4": Convert.convertSongs(); break; case "5": PlayGame.Play(); break; case "6": case "c": Process.GetCurrentProcess().Kill(); break; case "path": case "ask": Install.AskForPath(); // Added for debug and/or advanced usage break; case "7": if (isDebug) { inputSteamLogin(); } else { goto default; } break; default: Con.Error("Invalid input, please select 1 - 6"); BeginInputOption(); break; } }