fixed the advanced installer to show an error if bonelab is not there.

This commit is contained in:
Shane Harris
2022-10-19 17:20:52 +02:00
parent 8665dcc848
commit 8cdd3e4dd8
@@ -274,8 +274,12 @@ export class HeadsetSettingsComponent implements OnInit {
'echo https://blrepo.laund.moe/repository.json > ' + 'echo https://blrepo.laund.moe/repository.json > ' +
'/sdcard/Android/data/com.StressLevelZero.BONELAB/files/repositories.txt' '/sdcard/Android/data/com.StressLevelZero.BONELAB/files/repositories.txt'
) )
.then(() => { .then(res => {
this.statusService.showStatus('Enabled BONELAB mods OK!!'); if (res.trim()) {
this.statusService.showStatus(res.trim(), true);
} else {
this.statusService.showStatus('Enabled BONELAB mods OK!!');
}
}) })
.catch(e => { .catch(e => {
this.statusService.showStatus(e, true); this.statusService.showStatus(e, true);