Skip to content

Commit

Permalink
fixed the advanced installer to show an error if bonelab is not there.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Harris committed Oct 19, 2022
1 parent 8665dcc commit 8cdd3e4
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8cdd3e4

Please sign in to comment.