mirror of https://github.com/tuyoogame/YooAsset
Compare commits
2 Commits
36f5770906
...
1356de5e40
Author | SHA1 | Date |
---|---|---|
|
1356de5e40 | |
|
a4111349a0 |
|
@ -92,9 +92,16 @@ namespace YooAsset
|
||||||
if (_fileSystem.AppendFileExtension)
|
if (_fileSystem.AppendFileExtension)
|
||||||
{
|
{
|
||||||
string dataFileExtension = FindDataFileExtension(chidDirectory);
|
string dataFileExtension = FindDataFileExtension(chidDirectory);
|
||||||
if (string.IsNullOrEmpty(dataFileExtension) == false)
|
if (string.IsNullOrEmpty(dataFileExtension))
|
||||||
|
{
|
||||||
|
//注意:覆盖安装的情况下,缓存文件可能会没有后缀格式,需要删除重新下载!
|
||||||
|
dataFilePath = string.Empty;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
dataFilePath += dataFileExtension;
|
dataFilePath += dataFileExtension;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var element = new VerifyFileElement(_fileSystem.PackageName, bundleGUID, fileRootPath, dataFilePath, infoFilePath);
|
var element = new VerifyFileElement(_fileSystem.PackageName, bundleGUID, fileRootPath, dataFilePath, infoFilePath);
|
||||||
Result.Add(element);
|
Result.Add(element);
|
||||||
|
|
Loading…
Reference in New Issue