Mozilla_pre: Make Firefox profile customizable

This commit is contained in:
Daniel unbrot Pätzold
2026-05-07 16:17:56 +02:00
parent fef70d8d56
commit 564dafadb4
3 changed files with 13 additions and 6 deletions
@@ -21,6 +21,9 @@ from webdav3.client import Client
#Variables
thunderbird_tar = os.path.dirname(__file__) + '/thunderbird.tar.zst'
firefox_tar = os.path.dirname(__file__) + '/firefox.tar.zst'
#If defined, use another Profile for that Company
if 'PROFILE_FIREFOX_TAR_FILE' in environ:
firefox_tar=environ['PROFILE_FIREFOX_TAR_FILE']
firefoxhome_path = environ['HOME'] + "/.config/mozilla/firefox"
firefoxhome_profile_src = os.path.dirname(__file__) + '/profiles_ff.ini'
firefoxhome_profile_dst = firefoxhome_path + '/profiles.ini'