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

Improved Web Store Management

Open iamEvanYT opened this issue 8 months ago • 3 comments

Summary

This PR makes it possible for users to create a custom extensions management system (Install, Uninstall, Enable & Disable)


Changes

  • Added an afterInstall option to installChromeWebStore(), which allows the users to specifically track extensions installed via the webstore.
  • Added an afterUninstall option to installChromeWebStore(), which allows the users to specifically track extensions uninstalled via the webstore
  • Added an overrideExtensionInstallStatus option to installChromeWebStore(), which allows the users to override the extension state passed to the webstore. (eg: Disabled, Blacklisted, Corrupted, etc)

Why?

These changes allowed me to implement a custom extension management system here, while maintaining the state with electron-chrome-web-store.


closes #116

✅ By sending this pull request, I agree to the Contributor License Agreement of this project.

iamEvanYT avatar Apr 22 '25 15:04 iamEvanYT

Would it also be possible to add an uninstall(<id>) api to remove extensions through a custom extensions management system? ( #118 )

Kilian avatar Apr 23 '25 07:04 Kilian

Would it also be possible to add an uninstall(<id>) api to remove extensions through a custom extensions management system? ( #118 )

I think this already exists from this commit.

iamEvanYT avatar Apr 23 '25 14:04 iamEvanYT

yes, sweet!

Kilian avatar Apr 23 '25 15:04 Kilian