Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crx : chrome addons #3

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

crx : chrome addons #3

wants to merge 8 commits into from

Conversation

odnar-dev
Copy link
Member

@odnar-dev odnar-dev commented May 7, 2023

- create data and cache dir
- install
	- arg is addon id
	- check if addon id is valid
	- download addon metadata
	- check if addon metadata is valid
	- download addon package
	- check if downloaded package hash is valid
	- check if downloaded package is a valid crx, and convert it to a zip package
	- unpack addon zip
	- install addon 
# data available in the metadata
- status
- codebase : download url
- hash_sha256
- size
- version
# functions related to appz_install()
- crx_addon_id_valid
- crx_download_addons_metadata
- crx_check_if_metadata_valid
- crx_download_addon_package
- crx_check_addon_package_hash
- crx_check_addon_package_valid
- crx_unpack_addon_package
- crx_install_addon_package 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant