INNER CODE UNIT · JavaScript

toComplexApp

ImranR98/apps.obtainium.imranr.dev · scripts/generate_from_export.js:86

function toComplexApp(app) {
    const config = {
        id: app.id,
        url: app.url,
        author: app.author,
        name: app.name
    }
    for (const key of ['preferredApkIndex', 'additionalSettings', 'overrideSource', 'altLabel']) {
        if (app[key] != null) config[key] = app[key]
    }
    return {
        configs: [config],
        icon: null,
        categories: ['other'],
        description: { en: null }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…