fix: try add context menux on startup

This commit is contained in:
Gabe Yuan
2024-02-02 10:49:15 +08:00
parent 1e51ff17f2
commit 18b9961b39

View File

@@ -92,7 +92,9 @@ browser.runtime.onStartup.addListener(async () => {
}
// 右键菜单
if (!contextMenus) {
if (contextMenus) {
addContextMenus();
} else {
removeContextMenus();
}