mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 23:59:59 +02:00
Some components used by @zen-browser as an attempt to make firefox forks a better place
(Archived and Privated on Nov 4 2024 - neccesarry for older Zen builds)
This commit updates the ZenThemeMarketplaceParent module to include the functionality for downloading and installing themes. The `receiveMessage` method now handles the "ZenThemeMarketplace:InstallTheme" message by downloading the theme file contents and updating the themes data. The `downloadUrlToFile` method has been added to download the file from the provided URL and save it to the specified path. Additionally, the `downloadThemeFileContents` method has been added to download the style and readme files for a theme and save them to the appropriate directory. Refactor ZenThemeMarketplaceParent.sys.mjs: - Add `downloadUrlToFile` method - Add `downloadThemeFileContents` method |
||
---|---|---|
src | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md |
components
Some components used by @zen-browser as an attempt to make firefox forks a better place