From 4906755770d876dad54492572b6719761de1c5c5 Mon Sep 17 00:00:00 2001 From: kqnori <96951674+kqnori@users.noreply.github.com> Date: Sun, 28 Jun 2026 11:04:18 +0200 Subject: [PATCH] Fix game path formatting and update Console.WriteLine --- Program.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Program.cs b/Program.cs index 8b2ac17..dc44e53 100644 --- a/Program.cs +++ b/Program.cs @@ -1,8 +1,7 @@ -using System.Diagnostics; +using System.Diagnostics; using Newtonsoft.Json.Linq; using System.Net; - -Console.WriteLine(args[0]); +using System; @@ -11,6 +10,7 @@ string gamepath = ""; string gamename = ""; string gameexe = ""; +Console.WriteLine(args[0]); string userProfilePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); if (args[0].EndsWith(".exe")) @@ -87,7 +87,7 @@ void unrarfix(string fixfile) Console.WriteLine($"Game name: {gamename}"); - gamepath = userProfilePath + "/Documents/gry/" + gamename; + gamepath = userProfilePath + "/Documents/games/" + gamename; Directory.Move(dirtomove, gamepath); @@ -242,4 +242,4 @@ void ExtractIcon(string exePath, string outputPngPath) UseShellExecute = false }); process?.WaitForExit(); -} \ No newline at end of file +}