From 7a442ffe1ae9791f0d86ad2a14d3027e7a66c361 Mon Sep 17 00:00:00 2001 From: Crudelis Date: Wed, 8 Feb 2023 21:49:25 +0900 Subject: [PATCH] Bug Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 스크린샷 폴더 지정 위치 버그 수정 --- Mitria_Minecraft_Launcher/Updater/GameUpdateManager.cs | 2 +- Mitria_Minecraft_Launcher/Updater/LauncherUpdate.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Mitria_Minecraft_Launcher/Updater/GameUpdateManager.cs b/Mitria_Minecraft_Launcher/Updater/GameUpdateManager.cs index b32e8ea..f5918cb 100644 --- a/Mitria_Minecraft_Launcher/Updater/GameUpdateManager.cs +++ b/Mitria_Minecraft_Launcher/Updater/GameUpdateManager.cs @@ -147,7 +147,7 @@ namespace Mitria_Minecraft_Launcher.Updater { // 비우기 전에 스크린샷폴더 보존 /screenshots string oldScreenshotsDirectory = CommonLibrary.Extensions.PathCombineW(Settings.UserLauncherConfig.GameDirectory, Settings.NowProfile.ServerName, "screenshots"); - string newScreenshotsDirectory = "screenshots "+ DateTime.Now.ToString("yyyyMMddHHmmss"); + string newScreenshotsDirectory = System.IO.Path.GetFullPath("screenshots_" + DateTime.Now.ToString("yyyyMMddHHmmss")); if (System.IO.Directory.Exists(oldScreenshotsDirectory) && System.IO.Directory.GetFiles(oldScreenshotsDirectory, "*", System.IO.SearchOption.AllDirectories).Length > 0) { Log.INFO("[Package] Screenshots Directory Backup : " + newScreenshotsDirectory); diff --git a/Mitria_Minecraft_Launcher/Updater/LauncherUpdate.cs b/Mitria_Minecraft_Launcher/Updater/LauncherUpdate.cs index d5e4ee4..5e9439c 100644 --- a/Mitria_Minecraft_Launcher/Updater/LauncherUpdate.cs +++ b/Mitria_Minecraft_Launcher/Updater/LauncherUpdate.cs @@ -22,7 +22,6 @@ namespace Mitria_Minecraft_Launcher.Updater CommonLibrary.Log.INFO("Launcher Version : " + thisVersion); CommonLibrary.Log.INFO("Remote Launcher Version : " + remoteVersion); int result = remoteVersion.CompareTo(thisVersion); - if (result <= 0) { CommonLibrary.Log.INFO("Version Same");