From 07c14386582724d944fa61947fb2ac0f0490ea9b Mon Sep 17 00:00:00 2001 From: sonic <156506053+sonic998@users.noreply.github.com> Date: Sun, 18 Aug 2024 19:40:37 +0200 Subject: [PATCH] Delete src/Util/OpenGamePrompt.cs --- src/Util/OpenGamePrompt.cs | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/Util/OpenGamePrompt.cs diff --git a/src/Util/OpenGamePrompt.cs b/src/Util/OpenGamePrompt.cs deleted file mode 100644 index e8d11b0..0000000 --- a/src/Util/OpenGamePrompt.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Microsoft.AspNetCore.Mvc.Filters; -using Microsoft.AspNetCore.Mvc; -using System.Diagnostics; - -namespace sodoff.Utils; - -public class OpenGamePrompt { - public static void prompt() { - string key; - Console.WriteLine("Do you want to open the game"); - Console.WriteLine("yes or no"); - key = Console.ReadLine(); - if (key == "yes") - { - Console.WriteLine("Opening game"); - Process.Start(Directory.GetParent(Environment.CurrentDirectory) + "/Client/" + "DOMain.exe"); - } - if (key == "no") - { - Console.WriteLine("You can manually open the game now"); - } - } -} \ No newline at end of file