Skip to content

Commit 9f29c29

Browse files
committed
fix: windows uwb cache path
1 parent 98355c0 commit 9f29c29

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper

src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ public static string GetAdditionFilesDirectory()
4343
{
4444
#if UNITY_EDITOR
4545
return Path.GetFullPath(Path.Combine(Directory.GetParent(Application.dataPath)!.FullName, "Library"));
46-
#elif UNITY_STANDALONE_OSX
47-
return Application.persistentDataPath;
4846
#else
49-
return Application.dataPath;
47+
return Application.persistentDataPath;
5048
#endif
5149
}
5250

0 commit comments

Comments
 (0)