fixed a bug in apps not showing with no permissions, and fixed a bug in the adb command screen

This commit is contained in:
Shane Harris
2022-08-05 07:53:21 +02:00
parent 5dbbcbcbbe
commit c38e48769a
8 changed files with 48 additions and 30 deletions
+5 -3
View File
@@ -125,9 +125,11 @@ export class ElectronService {
let url = data.split('#');
switch (url[0]) {
case 'sidequest://w/':
this.adbService.runAdbCommand('adb shell am start -a android.intent.action.VIEW -d ' + url[1]).then(() => {
this.statusService.showStatus('Launching WebXR in browser...', false, true);
});
this.adbService
.runAdbCommand('adb shell am start -a android.intent.action.VIEW -d ' + url[1], true)
.then(() => {
this.statusService.showStatus('Launching WebXR in browser...', false, true);
});
this.webviewService.isWebviewLoading = false;
break;
case 'sidequest://i/':