diff --git a/desktop-app/src/app/headset-settings/headset-settings.component.html b/desktop-app/src/app/headset-settings/headset-settings.component.html index b7bd77e..58368c6 100644 --- a/desktop-app/src/app/headset-settings/headset-settings.component.html +++ b/desktop-app/src/app/headset-settings/headset-settings.component.html @@ -345,6 +345,16 @@ + +
BONELAB Mods
+
+

+ This will enable mods inside BONELAB on your quest. +

+
+
Enable BONELAB Mods
+
+
Proximity Sensor

diff --git a/desktop-app/src/app/headset-settings/headset-settings.component.ts b/desktop-app/src/app/headset-settings/headset-settings.component.ts index 055310d..c47ffc1 100644 --- a/desktop-app/src/app/headset-settings/headset-settings.component.ts +++ b/desktop-app/src/app/headset-settings/headset-settings.component.ts @@ -269,6 +269,18 @@ export class HeadsetSettingsComponent implements OnInit { }) .catch(e => this.statusService.showStatus(e, true)); } + enableBonelabMods() { + this.runAdbCommand( + 'echo https://blrepo.laund.moe/repository.json > ' + + '/sdcard/Android/data/com.StressLevelZero.BONELAB/files/repositories.txt' + ) + .then(() => { + this.statusService.showStatus('Enabled BONELAB mods OK!!'); + }) + .catch(e => { + this.statusService.showStatus(e, true); + }); + } setFullRate(fullRate: GU) { console.log('setprop debug.oculus.fullRateCapture ' + (fullRate === GU.ON ? 1 : 0)); this.runAdbCommand('setprop debug.oculus.fullRateCapture ' + (fullRate === GU.ON ? 1 : 0)) @@ -470,7 +482,7 @@ export class HeadsetSettingsComponent implements OnInit { } inputCharacters() { let character = this._textToSend.shift(); - return this.runAdbCommand('adb shell input text "' + character + '"').then(() => { + return this.runAdbCommand('input text "' + character + '"').then(() => { if (this._textToSend.length) { return this.inputCharacters(); } diff --git a/package.json b/package.json index 0727e94..b903ed8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "SideQuest", "productName": "SideQuest", - "version": "0.10.32", + "version": "0.10.33", "description": "A open app store for mobile android based VR devices such as the Levovo Mirage, Oculus Go, Oculus Quest, Vive Focus.", "repository": "https://github.com/SideQuestVR/SideQuest.git", "license": "UNLICENCED",