diff --git a/desktop-app/src/app/adb-client.service.ts b/desktop-app/src/app/adb-client.service.ts
index 88c7269..ca2fcb5 100644
--- a/desktop-app/src/app/adb-client.service.ts
+++ b/desktop-app/src/app/adb-client.service.ts
@@ -413,7 +413,7 @@ export class AdbClientService {
return this.adbCommand('shell', { serial: this.deviceSerial, command: 'pm list packages -f ' + packageName }).then(res => {
let parts = res.split(':');
if (parts.length > 1) {
- return parts[1].split('=')[0];
+ return parts[1].split('base.apk=')[0] + 'base.apk';
} else {
return false;
}
diff --git a/desktop-app/src/app/tools/tools.component.html b/desktop-app/src/app/tools/tools.component.html
index d0508d2..11bb231 100644
--- a/desktop-app/src/app/tools/tools.component.html
+++ b/desktop-app/src/app/tools/tools.component.html
@@ -25,6 +25,22 @@
Open ADB Folder
+
+ Refresh Rate
+ This will allow you to change to 90Hz refresh rate for 90fps support in games.
+ WARNING: This does not work in all games, and does not work with Oculus Link. This setting may also reset to default when you restart your headset. You may need to press the power button twice to turn the screen off and on to enable this setting for apps that dont have it natively enabled.
+
diff --git a/desktop-app/src/app/tools/tools.component.ts b/desktop-app/src/app/tools/tools.component.ts
index 4b6935d..b952a71 100644
--- a/desktop-app/src/app/tools/tools.component.ts
+++ b/desktop-app/src/app/tools/tools.component.ts
@@ -48,6 +48,10 @@ enum SVB {
_15Mbps,
_25Mbps,
}
+enum RR {
+ _72,
+ _90,
+}
@Component({
selector: 'app-tools',
templateUrl: './tools.component.html',
@@ -67,6 +71,7 @@ export class ToolsComponent implements OnInit {
CR = CR;
GPU = GPU;
FR = GU;
+ RR = RR;
pavlovName;
constructor(
public appService: AppService,
@@ -148,6 +153,24 @@ export class ToolsComponent implements OnInit {
this.statusService.showStatus(e, true);
});
}
+ setRR(rr: RR) {
+ let value = 72;
+ switch (rr) {
+ case RR._72:
+ value = 72;
+ break;
+ case RR._90:
+ value = 90;
+ break;
+ }
+ this.runAdbCommand('adb shell setprop debug.oculus.refreshRate ' + value)
+ .then(() => {
+ this.statusService.showStatus('Refresh Rate set OK!!');
+ })
+ .catch(e => {
+ this.statusService.showStatus(e, true);
+ });
+ }
setSSO(sso: SSO) {
let value = 0;
switch (sso) {