added github action workflow
This commit is contained in:
@@ -47,7 +47,6 @@ export class AppComponent {
|
||||
ngAfterViewInit() {
|
||||
this.spinnerService.setSpinner(this.spinner);
|
||||
this.statusService.setStatus(this.status);
|
||||
console.log(this.webview);
|
||||
this.webService.setWebView(this.webview.nativeElement);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,9 +77,9 @@ export class ElectronService {
|
||||
rejectUnauthorized: !isDevMode(),
|
||||
json: { token: token },
|
||||
};
|
||||
console.log(options);
|
||||
// console.log(options);
|
||||
this.appService.request(options, async (error, response, body) => {
|
||||
console.log(error, body);
|
||||
// console.log(error, body);
|
||||
if (!error && body.data && body.data.apps && body.data.apps.length) {
|
||||
for (let i = 0; i < body.data.apps.length; i++) {
|
||||
let app = body.data.apps[i];
|
||||
@@ -157,8 +157,13 @@ export class ElectronService {
|
||||
if (data) {
|
||||
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...');
|
||||
});
|
||||
this.webviewService.isWebviewLoading = false;
|
||||
break;
|
||||
case 'sidequest://i/':
|
||||
console.log(data);
|
||||
this.installFromToken(url[1]);
|
||||
break;
|
||||
case 'sidequest://unload/':
|
||||
|
||||
@@ -149,7 +149,6 @@ export class ProcessBucketService {
|
||||
this.tasks = this.tasks.filter(t => !t.failed);
|
||||
}
|
||||
clearAll() {
|
||||
igin;
|
||||
this.tasks = [];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ export class WebviewService {
|
||||
appService.setWebviewService(this);
|
||||
}
|
||||
setWebView(webView) {
|
||||
console.log({ webView });
|
||||
this.webView = webView;
|
||||
this.setupWebview();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user