fixed the advanced installer to show an error if bonelab is not there.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user