electron-browser-shell icon indicating copy to clipboard operation
electron-browser-shell copied to clipboard

browser-action-list don't have any icon of extension

Open phongpvgutech opened this issue 10 months ago • 5 comments

Sorry for creating it again. "electron": "github:castlabs/electron-releases#v35.0.0-beta.5+wvcus", "electron-chrome-extensions": "^4.3.0", "electron-chrome-web-store": "^0.8.1",

I get some errror

(node:69838) ExtensionLoadWarning: Warnings loading extension at /Users/mac/Library/Application Support/Phoebe/Extensions/eimadpbcbfnmbkopoojfekhnkhdbieeh/4.9.102_0:
  Permission 'fontSettings' is unknown or URL pattern is malformed.
  Permission 'contextMenus' is unknown or URL pattern is malformed.


[80213:0214/110809.246677:ERROR:extensions_browser_client.cc(72)] Extension Error:
  OTR:     false
  Level:   2
  Source:  
  Message: Unrecognized Content-Security-Policy directive 'navigate-to'.
  ID:      eimadpbcbfnmbkopoojfekhnkhdbieeh
  Type:    RuntimeError
  Context: 
  Stack Trace: 
    {
      Line:     0
      Column:   1
      URL:      
      Function: (anonymous function)
    }
[



[80213:0214/110809.255602:ERROR:extensions_browser_client.cc(72)] Extension Error:
  OTR:     false
  Level:   2
  Source:  chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/background/index.js
  Message: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'onRemoved')
  ID:      eimadpbcbfnmbkopoojfekhnkhdbieeh
  Type:    RuntimeError
  Context: chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/background/index.js
  Stack Trace: 
    {
      Line:     6238
      Column:   1
      URL:      chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/background/index.js
      Function: (anonymous function)
    }



[80213:0214/110809.262117:ERROR:extensions_browser_client.cc(72)] Extension Error:
  OTR:     false
  Level:   2
  Source:  chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/background/index.js
  Message: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'domainLabels')
  ID:      eimadpbcbfnmbkopoojfekhnkhdbieeh
  Type:    RuntimeError
  Context: chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/background/index.js
  Stack Trace: 
    {
      Line:     1434
      Column:   1
      URL:      chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/background/index.js
      Function: (anonymous function)
    }

Don't have any icon of extentions

Image

Chrome Web Store extension unavailable.

Image

phongpvgutech avatar Feb 26 '25 06:02 phongpvgutech

This likely has to do with the preload scripts not being found in your project. You may need to use the modulePath constructor option. I'm working on making this easier in the meantime.

samuelmaddock avatar Mar 02 '25 01:03 samuelmaddock

Can you give this another try with the latest releases? [email protected] and [email protected]

Preload scripts should work out of the box for most cases now.

samuelmaddock avatar Mar 02 '25 18:03 samuelmaddock

Can you give this another try with the latest releases? [email protected] and [email protected]

Preload scripts should work out of the box for most cases now.

I will try it

phongpvgutech avatar Mar 05 '25 01:03 phongpvgutech

After updating, the extension (eimadpbcbfnmbkopoojfekhnkhdbieeh) doesn't seem to apply, even though it's already installed(existingExtension).

phongpvgutech avatar Mar 05 '25 02:03 phongpvgutech

You'll need to share your code. I don't think I have enough information to help you.

samuelmaddock avatar Mar 05 '25 14:03 samuelmaddock