Update browser database.

This commit is contained in:
Simo Kinnunen
2014-04-22 17:27:37 +09:00
parent cbab9963cc
commit 78432bbaf4

View File

@@ -34,6 +34,36 @@ module.exports = syrup.serial()
case 'com.android.browser':
app.type = 'android'
break
case 'org.mozilla.firefox':
app.type = 'firefox'
break
case 'org.mozilla.firefox_beta':
app.type = 'firefox-beta'
break
case 'com.opera.browser':
app.type = 'opera'
break
case 'com.opera.mini.android':
app.type = 'opera-mini'
break
case 'com.opera.browser.beta':
app.type = 'opera-beta'
break
case 'com.UCMobile.intl':
app.type = 'uc'
break
case 'com.explore.web.browser':
app.type = 'lightning'
break
case 'com.baidu.browser.inter':
app.type = 'baidu'
break
case 'com.tencent.ibibo.mtt':
app.type = 'one'
break
default:
app.type = app.name.toLowerCase()
.replace(/\s+/g, '-')
}
app.id = app.component