mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-29 20:48:47 +00:00
fix #426
This commit is contained in:
@@ -44,6 +44,9 @@ 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
|
||||||
|
if (path.StartsWith("jar:file://"))
|
||||||
|
url = path;
|
||||||
|
else
|
||||||
url = StringUtility.Format("file://{0}", path);
|
url = StringUtility.Format("file://{0}", path);
|
||||||
#else
|
#else
|
||||||
throw new System.NotImplementedException();
|
throw new System.NotImplementedException();
|
||||||
|
|||||||
Reference in New Issue
Block a user