Qucs / qucs

Qucs Project official mirror
http://qucs.sourceforge.net/
GNU General Public License v2.0
1.15k stars 213 forks source link

Change Windows Environment Variable `HOME` to something else (like `QUCSHOME`) #204

Closed jrast closed 9 years ago

jrast commented 9 years ago

With the current setup, using HOME to define the Project and Settings directory, Qucs is causing problems as other programs might also look for a environment variable called HOME. In my case this is cygwin wich relies on the HOME Variable, but there might be other tools rely on this variable (which is also not nice from these tools to use generic variable like HOME).

My recomondation ist to change this variable to something more specific like QUCSHOME.

guitorri commented 9 years ago

I think HOME is not used anymore and can be dropped from the Inno instaler script.

These are the environment variables that we currently use:

./qucs/main.cpp:641:  char* var = getenv("QUCSDIR");
./qucs/main.cpp:672:  var = getenv("ADMSXMLBINDIR");
./qucs/main.cpp:689:  var = getenv("ASCOBINDIR");
./qucs/main.cpp:706:  var = getenv("OCTAVEBINDIR");
guitorri commented 9 years ago

Should be fixed with #255