added audio trip + custom homes + new app icon

This commit is contained in:
Shane Harris
2021-05-07 16:55:34 +01:00
parent 764d83daaf
commit 83a5f192cd
14 changed files with 10 additions and 2 deletions
+7 -1
View File
@@ -534,11 +534,17 @@ export class AdbClientService {
);
}
})
.catch(e => {
.catch(async e => {
if (deleteAfter) {
this.appService.fs.unlink(filePath, err => {});
}
let er = e.message ? e.message : e.code ? e.code : e.reason ? e.reason : JSON.stringify(e);
if (er.indexOf('INSTALL_FAILED_UPDATE_INCOMPATIBLE') > -1 && er.indexOf('com.oculus.environment.prod.')) {
let match = er.match(/([A-Za-z]*[A-Za-z\d_]*\.)+[A-Za-z][A-Za-z\d_]*/gm);
await this.adbCommand('uninstall', { serial: this.deviceSerial, packageName: match[0] });
this.installAPK(filePath, isLocal, shouldUninstall, number, total, deleteAfter, name);
return Promise.reject('Install failed, uninstalling and trying again...');
}
if (er === 'SAFESIDE') {
this.appService.headerComponent.safeModal.openModal();
}
@@ -126,10 +126,12 @@ export class HeaderComponent implements OnInit {
{"name":"Song Beater", "uri": "/sdcard/Android/data/com.Playito.SongBeater/CustomSongs/", "icon": "https://i.imgur.com/dOx0OEl.png"},
{"name":"VRtuos", "uri": "/sdcard/Android/data/com.PavelMarceluch.VRtuos/files/Midis/", "icon": "https://i.imgur.com/7G0OpJi.png"},
{"name":"Audica", "uri": "/sdcard/Audica/", "icon": "https://i.imgur.com/40sUjye.png"},
{"name":"Audio Trip", "uri": "/sdcard/Android/data/com.KinemotikStudios.AudioTripQuest/files/Songs/", "icon": "https://i.imgur.com/5EgzxTl.png"},
{"name":"OhShape", "uri": "/sdcard/OhShape/Songs/", "icon": "https://i.imgur.com/yIu0sSQ.png"},
{"name":"Oculus", "uri": "/sdcard/Oculus/", "icon": "https://i.imgur.com/LORDvYK.png"}
]`;
}
this.favourites[type] = localStorage.getItem(type) || defaultFavs;
this.favourites[type] = JSON.parse(this.favourites[type]);
}