PathCombine 통합 작업
This commit is contained in:
@@ -88,12 +88,12 @@ namespace Mitria_Minecraft_Launcher
|
||||
if (!existence)
|
||||
{
|
||||
newList.Remove(Settings.UserLauncherConfig.Profiles[i]);
|
||||
string path = CommonLibrary.Extensions.PathCombineW(Settings.UserLauncherConfig.GameDirectory, Settings.UserLauncherConfig.Profiles[i].ServerName);
|
||||
string path = CommonLibrary.Extensions.PathCombine(Settings.UserLauncherConfig.GameDirectory, Settings.UserLauncherConfig.Profiles[i].ServerName);
|
||||
if (File.Exists(path))
|
||||
{
|
||||
Directory.Delete(path, true);
|
||||
}
|
||||
path = CommonLibrary.Extensions.PathCombineW(Settings.CustomDataDirectory, Settings.UserLauncherConfig.Profiles[i].ServerName);
|
||||
path = CommonLibrary.Extensions.PathCombine(Settings.CustomDataDirectory, Settings.UserLauncherConfig.Profiles[i].ServerName);
|
||||
if (System.IO.Directory.Exists(path))
|
||||
{
|
||||
System.IO.Directory.Delete(path, true);
|
||||
|
Reference in New Issue
Block a user