pull/241/merge
hevinci 2024-02-20 11:31:27 +08:00
parent 88a1184877
commit 0a7a883aae
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@ namespace YooAsset
#elif UNITY_IPHONE #elif UNITY_IPHONE
return StringUtility.Format("file://{0}", path); return StringUtility.Format("file://{0}", path);
#elif UNITY_ANDROID #elif UNITY_ANDROID
return path; if (path.StartsWith("jar:file//"))
return path;
else
return StringUtility.Format("jar:file://{0}", path);
#elif UNITY_STANDALONE_OSX #elif UNITY_STANDALONE_OSX
return new System.Uri(path).ToString(); return new System.Uri(path).ToString();
#elif UNITY_STANDALONE #elif UNITY_STANDALONE