View Single Post
Old 11-10-2019, 04:09 PM   #14
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,139
Karma: 1900384
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
This may be beyond my skill set, but what would it take to set the SIGIL_PREFS_DIR to a different path on macOS?

I am interested in running both 0.9.18 and 0.9.991, each with their own separate prefs/plugins/etc. files, if it's not too difficult to accomplish on macOS.

Thank you!

Quote:
Originally Posted by DiapDealer View Post
You can use the installer to install Sigil to any location you like. However, all installed versions will use the same preference files (*.ini) and thus the same preferences. Having multiple instances of Sigil open that are reading and writing to the same preference files can lead to unintended consequences--even with the same versions of Sigil. Never mind when using two different versions at the same time

We have, however, made it possible to define a different location for Sigil's preferences folder by setting an environment variable (SIGIL_PREFS_DIR) to point to a different user writable path to use for a preferences folder.

So you could run one version of Sigil normally and then create a batch (or .cmd) file that sets the SIGIL_PREFS_DIR variable before launching Sigil. That way you could have two completely independent versions of Sigil running on Windows. Each complete with their own preferences, plugins, appearance, etc...

The last Sigil installed will always be the one that launches from the Desktop shortcut, so you might have to create your own shortcut to the one you want.
odamizu is offline   Reply With Quote