Installer console commands - Izheil/Quantum-Nox-Firefox-Dark-Full-Theme GitHub Wiki

Since version 1.6.0, the patcher has support for console commands. These commands are used as arguments after the name of the executable:

Quantum-Nox-installer.exe --multirow --tabs-below

... or the python file:

python Quantum-Nox-installer.py --multirow --tabs-below

You can also see all the commands with a small description using -h or --help. In windows, you will only be able to see the output of any of the arguments when in an elevated permissions console, and only in the python version. (the executables will only receive the arguments and run the commands you type, but won't give you any output). To run the commands, you don't need to start the console as administrator, but you will be prompted like in the regular patcher.

python Quantum-Nox-installer.py --help

The path arguments

You can change the path to use to install the functions with these arguments. By default, the command line installer will choose as the default install path Stable over Developer over Nightly.

If Developer or Nightly couldn't be found (or were found incorrectly), Stable will be chosen instead.

-r or --root to change the root path to use

Valid values are stable, developer, nightly, or a custom path. If using a custom path that has spaces, make sure to encase it between ", like:

Quantum-Nox-installer.exe --root "D:/Program files/Mozilla Firefox/"

-p or --profile to change the profile path to use

Valid values are stable, developer, nightly, or a custom path. If you have more than 1 profile in any of your firefox installations or are using a custom named profile, you should set a custom path here.

For the custom path choose the base profile folder, not the chrome folder path, and as like for the root path, encase the path in " if the path has spaces:

Quantum-Nox-installer.exe --profile "C:\Users\example\AppData\Roaming\Mozilla\Firefox\Profiles\a7h4l631.example"

The installer arguments

You can choose which things to install after you have the path set. You can opt to not specify a path, which will make the patcher use the default one found.

-mr or --multirow to install multirow tabs

This sets the flag to install multirow tabs, which will default to multirow scrollable with 3 rows by default. To change the version and the number of rows you will have to use the optional following secondary options:

  • -mrv or --multirow-version: Has 3 valid options, 1 for scrollable multirow, 2 for autohiding scrollbars multirow, and 3 for unlimited rows.
  • -mro or --multirow-options: You can set a specific number of rows to use (3 rows by default)

An example to install autohiding scrollbar multirow with 4 max rows would be:

Quantum-Nox-installer.exe --multirow -mrv 2 -mro 4

If we just wanted to use the default (3 rows scrollable multirow):

Quantum-Nox-installer.exe --multirow

-tb or --tabs-below to install tabs below

This sets the flag to install the tabs below function, which will default to tabs below with menu on top. This has the following optional secondary option:

  • -tbv or --tabs-below-version: Has 2 valid values, 1 for menu on top, and 2 for menu over tabs.

If we wanted tabs over tabs, we'd have to use it like:

Quantum-Nox-installer.exe --tabs-below -tbv 2

If we just wanted to use the default with menu on top:

Quantum-Nox-installer.exe --tabs-below

-mb or --megabar to install megabar resizing disabler

This sets the flag to install the megabar resizing disabler function, which will disable the resizing of the megabar until you click on the address bar by default. This has the following optional secondary option:

  • -mbv or --megabar-version: Has 2 valid values, 1 for disable resizing until focus, and 2 for disable resizing completelly.

If we wanted to disable the megabar resizing completelly, we'd have to use it like:

Quantum-Nox-installer.exe --megabar -mbv 2

If we just wanted to use the default with menu on top:

Quantum-Nox-installer.exe --megabar

-ft or --focus-tab to install focus tabs on hover

This sets the flag to install the focus tabs on hover function, which will default to have a 200ms delay before selection. It has the following optional secondary option:

  • -fto or --focus-tab-options: You can specify a ms delay here.

For example, if we wanted to set a 500ms delay:

Quantum-Nox-installer.exe --focus-tab -fto 500

-us or --unread-state to install the unread state tab tagging

This sets the flag to install unread state tagging on tabs, and has no optional options.

Quantum-Nox-installer.exe -us

or

Quantum-Nox-installer.exe --unread-state

Uninstall mode

You can also uninstall functions setting the the removal tags along with any of the functions you want to get rid of.

-rm or --remove to uninstall individual functions

You can uninstall one or many specific functions specifying this flag anywhere in the arguments.

For example, if we wanted to delete multirow and focus tabs on hover:

Quantum-Nox-installer.exe --remove --multirow --focus-tab

-rma or --remove-all to remove the patch and the functions

You can use this flag to remove both the patch from both the root and profile folders along with any function you had installed. By default it only removes the default path chosen.

Quantum-Nox-installer.exe --remove-all

You can't set any other option with this one, since it will just be ignored.

Debugging arguments

The following are some debugging arguments that will help debug problems when using the patcher through the console. You must remember that these options will only show any output on windows when running the python version through the console as administrator, or with elevated privileges.

On Linux the patcher will show the output just like the python file would on windows.

-pd or --print-defaults will show the default paths

This flag will show the default paths found by the patcher.

python Quantum-Nox-Installer.py --print-defaults

-s or --silent will prevent non-error messages to be printed

In the python version you will get messages for every action that was successfully completed, and for every error. This flag will only show the errors.

python Quantum-Nox-Installer.py --silent

Full examples

Here are some examples so that can see how to use these commands better:

You can choose to change the root and profile paths set by default, or not (you could only specify one or the other as well but not both if you want):

Quantum-Nox-installer.exe --root "D:/Program files/Mozilla Firefox/" --profile "D:/random/Firefox/profiles/123123.random" --multirow --tabs-below

You can use shorthand commands along with long ones at any time:

Quantum-Nox-installer.exe -r "D:/Program files/Mozilla Firefox/" --multirow -tb