removed scrcpy, added httpreferrer

This commit is contained in:
Shane Harris
2020-11-11 13:54:12 +00:00
parent ec725132c5
commit 0af649d1b8
6 changed files with 45 additions and 169 deletions
@@ -61,15 +61,6 @@ export class HeaderComponent implements OnInit {
favoritePathType = 'Path';
favouriteImportExport: boolean;
favouriteMax: number;
scrcpy_options: any = {
always_on_top: false,
bit_rate: '8000000',
crop: '1280:720:1500:350',
no_control: true,
fullscreen: false,
max_size: '0',
max_fps: '0',
};
// BAG = 'FAVS';
subs = new Subscription();
logcatTag: string = '';
@@ -171,13 +162,7 @@ export class HeaderComponent implements OnInit {
}
updateAvailable() {
// if (process.platform == 'win32') {
// this.spinnerService.setMessage('Downloading update...');
// this.spinnerService.showLoader();
// this.appService.electron.ipcRenderer.send('automatic-update', {});
// } else {
this.appService.opn('https://sidequestvr.com/download');
// }
}
startLogcat() {
@@ -251,13 +236,6 @@ export class HeaderComponent implements OnInit {
this.adbService.adbCommand('endLogcat');
}
runscrcpy() {
this.appService
.runScrCpy(this.scrcpy_options)
.then(() => this.statusService.showStatus('Stream closed.'))
.catch(e => this.statusService.showStatus('ScrCpy Error: ' + JSON.stringify(e), true));
}
gogo(e) {
if (e.keyCode === 13) {
this.webService.loadUrl(this.webService.currentAddress);