Exemplo n.º 1
0
def apps():
    app_url = request.forms.get('app_url')
    manifest = preload.fetch_webapp(app_url, DEFAULT_EXTERNAL_APP_PATH)
    return {'name': manifest['name']}
Exemplo n.º 2
0
def apps():
    app_url = request.forms.get('app_url')
    manifest = preload.fetch_webapp(app_url, DEFAULT_EXTERNAL_APP_PATH)
    return {'name': manifest['name']}
Exemplo n.º 3
0
def install_from_marketplace(manifestEncoded):
    manifestUrl = base64.b64decode(manifestEncoded)
    preload.fetch_webapp(manifestUrl, os.path.join(GAIA_DISTRIBUTION_DIR, 'external-apps'))
    return {'ok': 'true'}
def install_from_marketplace(manifestEncoded):
    manifestUrl = base64.b64decode(manifestEncoded)
    preload.fetch_webapp(manifestUrl,
                         os.path.join(GAIA_DISTRIBUTION_DIR, 'external-apps'))
    return {'ok': 'true'}