Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Firefox theme plugin: correctly parse installations with multipe profiles #626

Merged
merged 3 commits into from
Oct 11, 2022

Conversation

jmilette
Copy link

Allows theming firefox/librefox installations with multiple profiles

The old code would incorrectly iterate over files (such as the profiles.ini file) which would trigger an exception and skip the entire firefox installation. This checks the path to ensure it is a directory (and thus a profile) before trying to open the customChrome.css file for writing. It correctly themes my Librefox now.

Changelog

  • Fixed path iteration

@daudix daudix requested a review from 0xMRTT October 11, 2022 15:24
@daudix daudix added the hacktoberfest Let's hacktoberfest label Oct 11, 2022
@0xMRTT
Copy link
Member

0xMRTT commented Oct 11, 2022

Thanks for this contribution 👍👍

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

Successfully merging this pull request may close these issues.

None yet

3 participants