File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public class AndroidDebugBridge
6464 /// <summary>
6565 /// The minimum ADB version required by QuestPatcher.
6666 /// </summary>
67- private static readonly Version MinAdbVersion = new Version ( 1 , 0 , 41 ) ;
67+ private static readonly Version MinAdbVersion = new Version ( 1 , 0 , 39 ) ;
6868
6969 public event EventHandler ? StoppedLogging ;
7070
@@ -380,7 +380,11 @@ public async Task RunUnityPlayerActivity(string appId)
380380
381381 public async Task InstallApp ( string apkPath )
382382 {
383- await RunCommand ( $ "install { apkPath . EscapeProc ( ) } --no-streaming") ;
383+ string pushPath = $ "/data/local/tmp/{ Guid . NewGuid ( ) } .apk";
384+
385+ await RunCommand ( $ "push { apkPath . EscapeProc ( ) } { pushPath } ") ;
386+ await RunShellCommand ( $ "pm install { pushPath } ") ;
387+ await RunShellCommand ( $ "rm { pushPath } ") ;
384388 }
385389
386390 public async Task CreateDirectory ( string path )
You can’t perform that action at this time.
0 commit comments