ThomazPom / Moz-Ext-UltimaDark

Web Extension that uses agressive technique to get dark mode everywhere
12 stars 3 forks source link

Document build process #54

Closed Vintagemotors closed 6 months ago

Vintagemotors commented 6 months ago

It would be helpful to have the build process documented for future contributors and to assess whether it would be viable to set up Github Actions to run automatic nightly builds.

Vintagemotors commented 6 months ago

https://github.com/marketplace/actions/web-ext-action-for-firefox-add-ons

ThomazPom commented 6 months ago

Wow, I think it's great, and we will certainly have good marketplace documentation page.

ThomazPom commented 6 months ago

Technical Overview:

UltimaDark is programmed using only native JavaScript, which means there's no build step involved. The codebase is written directly in JavaScript without any additional frameworks or tools. This approach allows for simplicity and ease of understanding, as there's no need for complex build configurations.

GitHub Repository:

UltimaDark's source code is hosted on GitHub here https://github.com/ThomazPom/Moz-Ext-UltimaDark/ . The entire repository, excluding specific files and directories, is zipped for easy distribution.

Excluded Files and Directories:

Zipping the Repository:

Create a zip file containing all the remaining files for UltimaDark.

Upload to Mozilla Add-ons:

The zipped repository has to be uploaded to Mozilla Add-ons (https://addons.mozilla.org/fr/developers/).

Review Process by Mozilla:

The uploaded package undergoes a quick review by Mozilla to ensure compliance with their guidelines and standards.

This streamlined process ensures that UltimaDark is easily accessible to users on Mozilla Addons store, and any updates or changes can be efficiently managed through the GitHub repository.

Vintagemotors commented 6 months ago

So they are generating the .XPI upon upload?

Vintagemotors commented 6 months ago

I didn't realize this is all a .XPI was... neat! https://extensionworkshop.com/documentation/publish/package-your-extension/

Vintagemotors commented 6 months ago

I got actions working in nightly!!!