enhance(frontend): improve aiscript plugin error handling
This commit is contained in:
parent
f72228f428
commit
bfca457510
5 changed files with 35 additions and 13 deletions
|
@ -58,7 +58,7 @@ export async function mainBoot() {
|
|||
});
|
||||
|
||||
for (const plugin of ColdDeviceStorage.get('plugins').filter(p => p.active)) {
|
||||
import('../plugin').then(async ({ install }) => {
|
||||
import('@/plugin.js').then(async ({ install }) => {
|
||||
// Workaround for https://bugs.webkit.org/show_bug.cgi?id=242740
|
||||
await new Promise(r => setTimeout(r, 0));
|
||||
install(plugin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue