Run the migrations on extension installation.
This commit is contained in:
parent
dfc42535f0
commit
acb2bb409b
|
@ -4,6 +4,8 @@
|
|||
|
||||
import browser from "webextension-polyfill";
|
||||
|
||||
import {runMigrations} from "../migrations/migrations.js";
|
||||
|
||||
import {
|
||||
clearHistory,
|
||||
openNextItemOrOptionsPage,
|
||||
|
@ -30,6 +32,7 @@ browser.runtime.onStartup.addListener(async () => {
|
|||
});
|
||||
|
||||
browser.runtime.onInstalled.addListener(async () => {
|
||||
await runMigrations();
|
||||
await initializeContextMenus();
|
||||
await setBadgeText();
|
||||
|
||||
|
|
Loading…
Reference in New Issue