mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
针对Steam自动创建存档文件夹的优化
This commit is contained in:
parent
baf6e65558
commit
6228c04119
@ -167,13 +167,13 @@ namespace VPet_Simulator.Windows
|
||||
file.MoveTo(ExtensionValue.BaseDirectory + @"\Saves\" + file.Name);
|
||||
else
|
||||
file.Delete();
|
||||
Directory.Delete(ExtensionValue.BaseDirectory + @"\BackUP");
|
||||
Directory.Delete(ExtensionValue.BaseDirectory + @"\BackUP", true);
|
||||
}
|
||||
}
|
||||
if (!Directory.Exists(ExtensionValue.BaseDirectory + @"\Saves"))
|
||||
{
|
||||
Directory.CreateDirectory(ExtensionValue.BaseDirectory + @"\Saves");
|
||||
}
|
||||
//if (!Directory.Exists(ExtensionValue.BaseDirectory + @"\Saves"))
|
||||
//{
|
||||
// Directory.CreateDirectory(ExtensionValue.BaseDirectory + @"\Saves");
|
||||
//}
|
||||
|
||||
Task.Run(GameLoad);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user