Beispiel #1
0
    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
Beispiel #2
0
    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
Beispiel #3
0
 def available_apps(self):
     return [
         app_from_sam_app(a) for a in self.sam.user_apps() if a.app.enabled
     ]
Beispiel #4
0
 def installed_apps(self):
     apps = [app_from_sam_app(a) for a in self.sam.installed_user_apps()]
     return apps
Beispiel #5
0
 def available_apps(self):
     return [app_from_sam_app(a) for a in self.sam.user_apps()]