This is a cross-platform installer/uninstaller/updater for Shadowfox, a universal dark theme for Firefox.
chmod +x [filename]
for the OS to register it as an executableshadowfox-updater
from AUROn MacOS, you can install with either Homebrew or MacPorts.
$ brew install srkomodo/tap/shadowfox-updater
$ shadowfox
$ sudo port install shadowfox-updater
$ shadowfox-updater
There are various ways to use Shadowfox Updater
If you run the file, it should open a series of prompts that will ask you everything needed to install or uninstall Shadowfox.
The "Profile to use" list will let you choose which profile you are going to work with.
Then, a prompt will give you the option to either install/update or uninstall Shadowfox.
The "Auto-Generate UUIDs" prompt, if accepted, will make the updater automatically populate the internal_UUIDs.txt
file, which is used for styling of extensions. Generally you would toggle this unless you want to manage precisely which extensions get styled.
The "Set Firefox dark theme" prompt, if accepted, will make the updater automatically enable Firefox's dark theme for it's UI and devtools. If you already have the dark theme enabled, you shouldn't toggle this one.
If the graphical UI fails to load, the program will load a more basic text-only prompt that has the same features as the usual UI but without the fancy graphical interface.
If you run the file with one or more arguments, the updater will work as a command line tool, which can be useful for automated scripts and such. Instead of explaining how it works I'm just going to paste the result of the command shadowfox-updater -h
.
Usage of shadowfox-updater:
-generate-uuids
Wheter to automatically generate UUIDs or not
-profile-index int
Index of profile to use
-profile-name string
Name of profile to use, if not defined or not found will fallback to profile-index
-set-dark-theme
Wheter to automatically set Firefox's dark theme
-uninstall
Wheter to install or uninstall ShadowFox
If this error shows up then your Firefox installation is probably located in a non-standard location. In this case, the solution would be to move the shadowfox executable to wherever profiles.ini
is located.
about:profiles
profiles.ini
profiles.ini
is locatedThis issue can happen if the profile you are trying to install to hasn't ever been opened. It can be easily fixed by just running Firefox with that profile and then running the updater again.
This issue usually happens because profiles.ini
is encoded in some encoding different from UTF-8, this can be easily fixed by changing profiles.ini
's encoding to UTF-8 with your favorite text editor or command line tool of choice.