-
-
Notifications
You must be signed in to change notification settings - Fork 164
Replies: 3 comments · 10 replies
-
I was not getting the default profile path so I fixed the parser. def _get_default_profile_folder():
config_path = FIREFOX_ROOT.joinpath("profiles.ini")
print(f"Reading {config_path}...")
config_parser = ConfigParser(strict=False)
config_parser.read(config_path)
for section in config_parser.sections():
if 'Default' in config_parser[section]:
if config_parser[section]['Default']:
print("Default detected: " + section)
return FIREFOX_ROOT.joinpath(config_parser[section]['Default']) |
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1
-
Ohh, fascinating! @Lastnight-777 would you be okay with sharing the contents of your Indeed, when making a new profile, there is no mention of a Either way, thank you for reporting! At the very least, I'll see to add some kind of fallback to have your case work by default sooner than later. But I do wanna make sure I don't accidentally bug the installer 😌 |
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm currently on Firefox 133.0 on Windows 11. This is my
|
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Thank you so much! If I may bother you for one more thing; can you test out if this edited version works? I added some code that should work for your setup! |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
The new version works as expected, thank you! |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
Love to hear it! Will PR the change upstream 😌 |
Beta Was this translation helpful? Give feedback.
All reactions
-
@Denperidge I could do the vanilla script but cant do --help. how to do --help in this script? sorry for the noob question, maybe a docs on this? |
Beta Was this translation helpful? Give feedback.
All reactions
-
python install.py --interactive is good enough for me then. I postpone my firefox update to match PortableApps.com version, and just use this to update the user.js
Powershell logs:
(Sorry for the weird CLI, I use CTT powershell profile, so my powershell has Oh-My-Posh and Zoxide installed)
Git Bash for Windows CLI logs:
After trying to execute the command from Git Bash I can't do it, I know executable couldn't be done from bash unless using wine, etc. but I remembered an error in my Git bash, let me go through my bash_history. anyway, I think Git Bash instruction is for building executable only right? so the .py or executable script are still executed from CMD?
so for the documentation part, few things to note:
)
WIP Edit: besides on here: next docs is about android, either the OP as mod, or on OP repo, or add /Fenix inside this repo just like how keylase/nvidia-patch has /win folder for windows version. (the name is from firefox android stable codename, also seen in ftp mozilla.org) but this is for the android betterfox open issue. so it's done, for me. IDK, the use case for executable but I documented what I could and could make do with (git clone betterfox in ubuntu on wsl) install.py then apply overrides.js myself. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for the info! I’m also not quite sure what the slash is in install.py/install-…, is the builder exporting in that subdirectory by default?
Can you…
Install.py is merely a contribution to yokoffin’s project, so as long as they’re also okay with any PR’s, you have my full support! |
Beta Was this translation helpful? Give feedback.
All reactions
-
No, the executable (install-betterfox.exe) is on the same directory with install.py , I was just confused with the slash command since windows use backslash (is there an example log of successful install-betterfox.exe from your machine? maybe good for docs too. mine crashed).
I'll put the logs in feedback discussion later. alright, actually. with install.py the user-overrides.js didn't get exported into my user-overrides part of user.js
user-overrides.js:
user.js:
I just realized it output a clear error on CMD, I already picked the inub one as default, how do I change default:dev (InstallCAAF0EB61973073A) to being inub:default? Do I just delete the dev entry, and let inub profile entry be on the top of the profiles.ini? SMH, I forgot to save a copy of the original overrides.js made by install.py , so my overrides.js above is basically manually made.
Should I attach the .js files and profiles.ini or markdown logs suffice? (let me try to search a way to wrap the text) |
Beta Was this translation helpful? Give feedback.
All reactions
-
I’ll try my best to work with this! Can you show me the logs of you running like you did last time (with user overrides not working)? For the rest, it is indeed a problem of deleted entries! You can manage (default) profiles in about:profiles, or clean up entries in profiles.ini. Alternatively, you can select a profile using the corresponding parameter |
Beta Was this translation helpful? Give feedback.
All reactions
-
I should catch the error better though. It is rather non-descript right now |
Beta Was this translation helpful? Give feedback.
-
Check out install.py created by @Denperidge! The details are here.
Please leave any feedback or questions below.
This discussion was created from the release 131.0.
Beta Was this translation helpful? Give feedback.
All reactions