mirror of https://github.com/tuyoogame/YooAsset
fix #426
parent
748e74e515
commit
51b688bbdd
|
@ -44,7 +44,10 @@ namespace YooAsset
|
||||||
#elif UNITY_STANDALONE
|
#elif UNITY_STANDALONE
|
||||||
url = StringUtility.Format("file:///{0}", path);
|
url = StringUtility.Format("file:///{0}", path);
|
||||||
#elif UNITY_OPENHARMONY
|
#elif UNITY_OPENHARMONY
|
||||||
url = StringUtility.Format("file://{0}", path);
|
if (path.StartsWith("jar:file://"))
|
||||||
|
url = path;
|
||||||
|
else
|
||||||
|
url = StringUtility.Format("file://{0}", path);
|
||||||
#else
|
#else
|
||||||
throw new System.NotImplementedException();
|
throw new System.NotImplementedException();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue