fix: try add context menux on startup
This commit is contained in:
@@ -92,7 +92,9 @@ browser.runtime.onStartup.addListener(async () => {
|
||||
}
|
||||
|
||||
// 右键菜单
|
||||
if (!contextMenus) {
|
||||
if (contextMenus) {
|
||||
addContextMenus();
|
||||
} else {
|
||||
removeContextMenus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user