From 8cdd3e4dd8639f0e9ed153b62aa99b7154f66cc9 Mon Sep 17 00:00:00 2001 From: Shane Harris Date: Wed, 19 Oct 2022 17:20:52 +0200 Subject: [PATCH] fixed the advanced installer to show an error if bonelab is not there. --- .../app/headset-settings/headset-settings.component.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 c47ffc1..7a14c0e 100644 --- a/desktop-app/src/app/headset-settings/headset-settings.component.ts +++ b/desktop-app/src/app/headset-settings/headset-settings.component.ts @@ -274,8 +274,12 @@ export class HeadsetSettingsComponent implements OnInit { 'echo https://blrepo.laund.moe/repository.json > ' + '/sdcard/Android/data/com.StressLevelZero.BONELAB/files/repositories.txt' ) - .then(() => { - this.statusService.showStatus('Enabled BONELAB mods OK!!'); + .then(res => { + if (res.trim()) { + this.statusService.showStatus(res.trim(), true); + } else { + this.statusService.showStatus('Enabled BONELAB mods OK!!'); + } }) .catch(e => { this.statusService.showStatus(e, true);