Skip to content

Commit

Permalink
fix: install -> uninstall web store extension
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Dec 4, 2024
1 parent 2a91f51 commit 808b120
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,12 @@ function setupChromeWebStoreApi() {
contextBridge.exposeInMainWorld('electronManagement', management)

webFrame.executeJavaScript(`
chrome.webstorePrivate = globalThis.electronWebstore;
chrome.runtime = globalThis.electronRuntime;
chrome.management = globalThis.electronManagement;
(function () {
chrome.webstorePrivate = globalThis.electronWebstore;
Object.assign(chrome.runtime, electronRuntime);
Object.assign(chrome.management, electronManagement);
void 0;
}());
`)

// Fetch app name
Expand Down

0 comments on commit 808b120

Please sign in to comment.