mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-14 19:40:47 +00:00
fix #167
This commit is contained in:
@@ -28,14 +28,13 @@ namespace YooAsset
|
||||
|
||||
public void DeleteFiles()
|
||||
{
|
||||
if (File.Exists(DataFilePath))
|
||||
try
|
||||
{
|
||||
File.Delete(DataFilePath);
|
||||
Directory.Delete(FileRootPath, true);
|
||||
}
|
||||
|
||||
if (File.Exists(InfoFilePath))
|
||||
catch (System.Exception e)
|
||||
{
|
||||
File.Delete(InfoFilePath);
|
||||
YooLogger.Warning($"Failed delete cache bundle folder : {e}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user