On 30/03/2011 10:56, Andreas Schneider wrote:
On Wednesday, March 30, 2011 11:19 [email protected] wrote:
Well, definitely not on Unix.
On unix, the EXE directory should never contain config files.
That depends. I think I'm not the only Lazarus user who has Lazarus
"installed" in his home directory; i.e. without "make install". In
that case it wouldn't hurt to have the configs being looked up in a
subdirectory of that path. However I share Vincent's opinion that the
--pcp parameter is far easier and no matter what system, it's always
pretty easy to create a launcher (shortcut on windows, shell script on
*nix). For example a startlaz_trunk.sh in ~/bin/, that simply executes
~/laztrunk/startlazarus --pcp=...
The problem is many users install a 2nd copy, but do not know....
My idea (but I havent got the time) would be:
- lazarus remembers it's own exe-path in the enviroments-options.xml
- if the exe path changes, lazarus gives a warning (can be switched off)
If a user runs 2 installations he will be warned
Same if the user moves the installation, which imho is ok
Martin
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus