Merge pull request #245 from absences/dev

fix path error
This commit is contained in:
何冠峰
2024-03-04 11:13:47 +08:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ 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
if (path.StartsWith("jar:file//")) if (path.StartsWith("jar:file://"))
return path; return path;
else else
return StringUtility.Format("jar:file://{0}", path); return StringUtility.Format("jar:file://{0}", path);