mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-06-10 06:29:55 +00:00
wip
This commit is contained in:
parent
74fb173d80
commit
da8a631a6d
@ -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({
|
||||||
|
@ -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',
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user