mirror of
https://github.com/ragestudio/vessel.git
synced 2025-06-09 10:34:18 +00:00
Add isInstalled method to check extension existence
This commit is contained in:
parent
bdbd92a73c
commit
829e1bce7b
@ -173,4 +173,10 @@ export default class ExtensionManager {
|
|||||||
await this.load(extension.id)
|
await this.load(extension.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isInstalled = async (id) => {
|
||||||
|
const manifest = await this.db.manifest.get(id)
|
||||||
|
|
||||||
|
return !!manifest
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user