any interest in an *-env.txt file for setting env vars for Sigil
Hi All,
Given how much effort and how messy it is to set environment variables for macOS that actually get read when launching Sigil from the Finder or Panel or Drag and Drop, I have decided to borrow a page out of Kovid's calibre for macOS that enables a macos-env.txt file. This file would be kept in Sigil's Preferences folder and the user could use any text editor to set environment variables for use inside of Sigil that would be read by Sigil on startup.
The format is (one per line):
ENVIRONMENT_VARIABLE_NAME=VALUE
I have tested this and it seems to work well.
My question is do we want to make this feature available to all platforms?
Maybe with a win-env.txt, or a linux-env.txt (or unix-env.txt) so that any user on any platform could use any text editor to set and change Sigil environment variables?
If so, this would be an easy change.
Thoughts?
Last edited by KevinH; 08-18-2025 at 10:00 PM.
|