mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-06-10 14:39:53 +00:00
wip
This commit is contained in:
parent
74fb173d80
commit
da8a631a6d
@ -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({
|
||||
|
@ -25,6 +25,7 @@ class Command(BaseCommand):
|
||||
'tabby-terminal',
|
||||
'tabby-ssh',
|
||||
'tabby-community-color-schemes',
|
||||
'tabby-serial',
|
||||
'tabby-web',
|
||||
'tabby-web-demo',
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user