mirror of https://github.com/tuyoogame/YooAsset
fix #426
parent
748e74e515
commit
51b688bbdd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue