diff --git a/src/terminal.ts b/src/terminal.ts index 56564a6..ab6f10d 100644 --- a/src/terminal.ts +++ b/src/terminal.ts @@ -43,12 +43,14 @@ async function start () { await webRequire(url) } + document.querySelector('app-root')['style'].display = 'flex' + const tabby = window['Tabby'] const pluginURLs = connector.getPluginsToLoad().map(x => `${baseUrl}/${x}`) - const pluginModules = await tabby.loadPlugins(pluginURLs) - - document.querySelector('app-root')['style'].display = 'flex' + const pluginModules = await tabby.loadPlugins(pluginURLs, (current, total) => { + (document.querySelector('.progress .bar') as HTMLElement).style.width = `${100 * current / total}%` // eslint-disable-line + }) const config = connector.loadConfig() tabby.bootstrap({ diff --git a/tabby/app/management/commands/add_version.py b/tabby/app/management/commands/add_version.py index 7a96164..aceb1a6 100644 --- a/tabby/app/management/commands/add_version.py +++ b/tabby/app/management/commands/add_version.py @@ -25,6 +25,7 @@ class Command(BaseCommand): 'tabby-terminal', 'tabby-ssh', 'tabby-community-color-schemes', + 'tabby-serial', 'tabby-web', 'tabby-web-demo', ]