File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Packages/Passport/Runtime/ThirdParty/Gree/Assets/Plugins Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ public GreeBrowserClient()
31
31
string filePath = Constants . SCHEME_FILE + Path . GetFullPath ( MAC_EDITOR_RESOURCES_DIRECTORY ) + Constants . PASSPORT_HTML_FILE_NAME ;
32
32
#elif UNITY_STANDALONE_OSX
33
33
string filePath = Constants . SCHEME_FILE + Path . GetFullPath ( Application . dataPath ) + MAC_DATA_DIRECTORY + Constants . PASSPORT_DATA_DIRECTORY_NAME + Constants . PASSPORT_HTML_FILE_NAME ;
34
+ filePath = filePath . Replace ( " " , "%20" ) ;
34
35
#elif UNITY_IPHONE
35
36
string filePath = Path . GetFullPath ( Application . dataPath ) + Constants . PASSPORT_DATA_DIRECTORY_NAME + Constants . PASSPORT_HTML_FILE_NAME ;
36
37
#else
37
38
string filePath = Constants . SCHEME_FILE + Path . GetFullPath ( Application . dataPath ) + Constants . PASSPORT_DATA_DIRECTORY_NAME + Constants . PASSPORT_HTML_FILE_NAME ;
38
39
#endif
39
- string escapedPath = filePath . Replace ( " " , "%20" ) ;
40
- webViewObject . LoadURL ( escapedPath ) ;
40
+ webViewObject . LoadURL ( filePath ) ;
41
41
}
42
42
43
43
private void InvokeOnPostMessageError ( string id , string message )
You can’t perform that action at this time.
0 commit comments