update logic code

优化了创建文件的方式。
This commit is contained in:
hevinci
2023-06-09 18:12:03 +08:00
parent f6e94c9514
commit 895dde1cc8
8 changed files with 15 additions and 37 deletions
@@ -410,7 +410,7 @@ namespace YooAsset
_footPrint = Application.buildGUID;
#endif
string footPrintFilePath = PersistentTools.GetAppFootPrintFilePath();
FileUtility.CreateFile(footPrintFilePath, _footPrint);
FileUtility.WriteAllText(footPrintFilePath, _footPrint);
YooLogger.Log($"Save application foot print : {_footPrint}");
}
}