mirror of https://github.com/tuyoogame/YooAsset
Update Utility
parent
75fc210218
commit
b3fcbf85ff
|
@ -146,7 +146,7 @@ namespace YooAsset
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static void DeleteSandboxPatchManifestFile()
|
public static void DeleteSandboxPatchManifestFile()
|
||||||
{
|
{
|
||||||
string filePath = PathHelper.MakePersistentLoadPath(ResourceSettingData.Setting.PatchManifestFileName);
|
string filePath = PathHelper.MakePersistentLoadPath(YooAssetSettingsData.Setting.PatchManifestFileName);
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
File.Delete(filePath);
|
File.Delete(filePath);
|
||||||
}
|
}
|
||||||
|
@ -194,7 +194,7 @@ namespace YooAsset
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static bool CheckSandboxPatchManifestFileExist()
|
public static bool CheckSandboxPatchManifestFileExist()
|
||||||
{
|
{
|
||||||
string filePath = PathHelper.MakePersistentLoadPath(ResourceSettingData.Setting.PatchManifestFileName);
|
string filePath = PathHelper.MakePersistentLoadPath(YooAssetSettingsData.Setting.PatchManifestFileName);
|
||||||
return File.Exists(filePath);
|
return File.Exists(filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ namespace YooAsset
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static string GetSandboxPatchManifestFileHash()
|
public static string GetSandboxPatchManifestFileHash()
|
||||||
{
|
{
|
||||||
string filePath = PathHelper.MakePersistentLoadPath(ResourceSettingData.Setting.PatchManifestFileName);
|
string filePath = PathHelper.MakePersistentLoadPath(YooAssetSettingsData.Setting.PatchManifestFileName);
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
return HashUtility.FileMD5(filePath);
|
return HashUtility.FileMD5(filePath);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue