Merge pull request #245 from absences/dev

fix path error
pull/252/head
何冠峰 2024-03-04 11:13:47 +08:00 committed by GitHub
commit c01adad2a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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);