pull/455/head
何冠峰 2024-12-31 10:02:01 +08:00
parent 748e74e515
commit 51b688bbdd
1 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,10 @@ namespace YooAsset
#elif UNITY_STANDALONE
url = StringUtility.Format("file:///{0}", path);
#elif UNITY_OPENHARMONY
url = StringUtility.Format("file://{0}", path);
if (path.StartsWith("jar:file://"))
url = path;
else
url = StringUtility.Format("file://{0}", path);
#else
throw new System.NotImplementedException();
#endif