@@ -411,7 +411,7 @@ public static async Task<bool> InstallAppAsync(string appFullPath, DeviceInfo ta
411411 }
412412
413413 // Query
414- string query = $ "{ string . Format ( InstallQuery , FinalizeUrl ( targetDevice . IP ) ) } ?package={ WWW . EscapeURL ( fileName ) } ";
414+ string query = $ "{ string . Format ( InstallQuery , FinalizeUrl ( targetDevice . IP ) ) } ?package={ UnityWebRequest . EscapeURL ( fileName ) } ";
415415
416416 var response = await Rest . PostAsync ( query , form , targetDevice . Authorization ) ;
417417
@@ -497,7 +497,7 @@ public static async Task<bool> UninstallAppAsync(string packageName, DeviceInfo
497497 return false ;
498498 }
499499
500- string query = $ "{ string . Format ( InstallQuery , FinalizeUrl ( targetDevice . IP ) ) } ?package={ WWW . EscapeURL ( appInfo . PackageFullName ) } ";
500+ string query = $ "{ string . Format ( InstallQuery , FinalizeUrl ( targetDevice . IP ) ) } ?package={ UnityWebRequest . EscapeURL ( appInfo . PackageFullName ) } ";
501501 var response = await Rest . DeleteAsync ( query , targetDevice . Authorization ) ;
502502
503503 if ( response . Successful )
@@ -542,7 +542,7 @@ public static async Task<bool> LaunchAppAsync(string packageName, DeviceInfo tar
542542 return false ;
543543 }
544544
545- string query = $ "{ string . Format ( AppQuery , FinalizeUrl ( targetDevice . IP ) ) } ?appid={ WWW . EscapeURL ( appInfo . PackageRelativeId . EncodeTo64 ( ) ) } &package={ WWW . EscapeURL ( appInfo . PackageFullName ) } ";
545+ string query = $ "{ string . Format ( AppQuery , FinalizeUrl ( targetDevice . IP ) ) } ?appid={ UnityWebRequest . EscapeURL ( appInfo . PackageRelativeId . EncodeTo64 ( ) ) } &package={ UnityWebRequest . EscapeURL ( appInfo . PackageFullName ) } ";
546546 var response = await Rest . PostAsync ( query , targetDevice . Authorization ) ;
547547
548548 if ( ! response . Successful )
@@ -586,7 +586,7 @@ public static async Task<bool> StopAppAsync(string packageName, DeviceInfo targe
586586 return false ;
587587 }
588588
589- string query = $ "{ string . Format ( AppQuery , FinalizeUrl ( targetDevice . IP ) ) } ?package={ WWW . EscapeURL ( appInfo . PackageFullName . EncodeTo64 ( ) ) } ";
589+ string query = $ "{ string . Format ( AppQuery , FinalizeUrl ( targetDevice . IP ) ) } ?package={ UnityWebRequest . EscapeURL ( appInfo . PackageFullName . EncodeTo64 ( ) ) } ";
590590 Response response = await Rest . DeleteAsync ( query , targetDevice . Authorization ) ;
591591
592592 if ( ! response . Successful )
0 commit comments