changed scrcpy path for adb on linux
This commit is contained in:
@@ -66,6 +66,7 @@ export class ToolsComponent implements OnInit {
|
||||
CA = CA;
|
||||
CR = CR;
|
||||
GPU = GPU;
|
||||
FR = GU;
|
||||
pavlovName;
|
||||
constructor(
|
||||
public appService: AppService,
|
||||
@@ -111,6 +112,11 @@ export class ToolsComponent implements OnInit {
|
||||
this.statusService.showStatus('CPU/GPU level set OK!!');
|
||||
});
|
||||
}
|
||||
setFullRate(fullRate: GU) {
|
||||
this.adbService.runAdbCommand('adb shell setprop debug.oculus.fullRateCapture ' + (fullRate === GU.ON ? 1 : 0)).then(() => {
|
||||
this.statusService.showStatus('Guardian pause set OK!!');
|
||||
});
|
||||
}
|
||||
setGuardian(guardian: GU) {
|
||||
this.adbService.runAdbCommand('adb shell setprop debug.oculus.guardian_pause ' + (guardian === GU.ON ? 1 : 0)).then(() => {
|
||||
this.statusService.showStatus('Guardian pause set OK!!');
|
||||
@@ -250,11 +256,4 @@ export class ToolsComponent implements OnInit {
|
||||
}
|
||||
});
|
||||
}
|
||||
setHideNSFW() {
|
||||
if (this.appService.hideNSFW) {
|
||||
localStorage.setItem('hideNSFW', 'true');
|
||||
} else {
|
||||
localStorage.removeItem('hideNSFW');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user