mirror of
https://github.com/ragestudio/vessel.git
synced 2025-06-09 02:24:17 +00:00
use await
This commit is contained in:
parent
f8dfcab5d6
commit
04f68bb0ff
@ -92,8 +92,8 @@ export default class ExtensionManager {
|
||||
manifest.url = manifestUrl
|
||||
manifest.main = replaceRelativeImportWithUrl(manifest.main, manifestUrl)
|
||||
|
||||
this.db.manifest.put(manifest)
|
||||
this.load(manifest.id)
|
||||
await this.db.manifest.put(manifest)
|
||||
await this.load(manifest.id)
|
||||
|
||||
this.runtime.eventBus.emit("extension:installed", manifest)
|
||||
this.logger.log(`Extension installed`, manifest)
|
||||
|
Loading…
x
Reference in New Issue
Block a user