def installed_apps(self): apps = [app_from_sam_app(a) for a in self.sam.installed_user_apps()] # TODO: Hack to add system apps, need to think about it apps.append(App('store', 'App Store', html_prefix + '/store.html')) apps.append(App('settings', 'Settings', html_prefix + '/settings.html')) return apps
def installed_apps(self): apps = [app_from_sam_app(a) for a in self.sam.installed_user_apps()] # TODO: Hack to add system apps, need to think about it apps.append(App('store', 'App Store', html_prefix + '/store.html')) apps.append(App('settings', 'Settings', html_prefix + '/settings.html')) return apps
def available_apps(self): return [ app_from_sam_app(a) for a in self.sam.user_apps() if a.app.enabled ]
def installed_apps(self): apps = [app_from_sam_app(a) for a in self.sam.installed_user_apps()] return apps
def available_apps(self): return [app_from_sam_app(a) for a in self.sam.user_apps()]