This commit is contained in:
Eugene Pankov 2021-07-11 16:31:27 +02:00
parent 74fb173d80
commit da8a631a6d
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 6 additions and 3 deletions

View File

@ -43,12 +43,14 @@ async function start () {
await webRequire(url) await webRequire(url)
} }
document.querySelector('app-root')['style'].display = 'flex'
const tabby = window['Tabby'] const tabby = window['Tabby']
const pluginURLs = connector.getPluginsToLoad().map(x => `${baseUrl}/${x}`) const pluginURLs = connector.getPluginsToLoad().map(x => `${baseUrl}/${x}`)
const pluginModules = await tabby.loadPlugins(pluginURLs) const pluginModules = await tabby.loadPlugins(pluginURLs, (current, total) => {
(document.querySelector('.progress .bar') as HTMLElement).style.width = `${100 * current / total}%` // eslint-disable-line
document.querySelector('app-root')['style'].display = 'flex' })
const config = connector.loadConfig() const config = connector.loadConfig()
tabby.bootstrap({ tabby.bootstrap({

View File

@ -25,6 +25,7 @@ class Command(BaseCommand):
'tabby-terminal', 'tabby-terminal',
'tabby-ssh', 'tabby-ssh',
'tabby-community-color-schemes', 'tabby-community-color-schemes',
'tabby-serial',
'tabby-web', 'tabby-web',
'tabby-web-demo', 'tabby-web-demo',
] ]