I found some "Bugs" within the Preferences window.
Please look here:
http://rapidshare.com/files/57291456/PrefBugs.zip.html
And there are a lot of lines that are not translated into german.
another "problem": with each version Purebasic is using the same preference file. So it's very difficult to run different versions on Mac. Is this a Bug or a feature?
Preferences location
Preferences location
michel51
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
> another "problem": with each version Purebasic is using the same preference file. So it's very difficult to run different versions on Mac. Is this a Bug or a feature?
Its the same on all OS now actually. The preferences are stored in a standard location
so all versions use the same one.
There are commandline switches (like -p) to modify this, although i do not know
if you can easily apply commandline switches to apps in the dock on OSX.
Maybe we need a different approach to managing prefs for different PB versions
on one PC. I must say though that i do not know what a good way would be.
(We cannot put the prefs in the PureBasic.app bundle for example as there could
be access rights issues when the .app is placed in the applications folder)
Its the same on all OS now actually. The preferences are stored in a standard location
so all versions use the same one.
There are commandline switches (like -p) to modify this, although i do not know
if you can easily apply commandline switches to apps in the dock on OSX.
Maybe we need a different approach to managing prefs for different PB versions
on one PC. I must say though that i do not know what a good way would be.
(We cannot put the prefs in the PureBasic.app bundle for example as there could
be access rights issues when the .app is placed in the applications folder)
quidquid Latine dictum sit altum videtur
What about placing the prefs into the folder where Purebasic.app is placed?freak wrote: Maybe we need a different approach to managing prefs for different PB versions
on one PC. I must say though that i do not know what a good way would be.
(We cannot put the prefs in the PureBasic.app bundle for example as there could
be access rights issues when the .app is placed in the applications folder)
You cannot (should not) run different versions of PB with the same folder without problems.(?) Or you have to place the different versions into different folders.
So you con get the correct path with #PB_Compiler_Home, that gets the path of the PB-app in the used folder, and there has to be placed the prefs too.
So you have the possibility to work with different version and different prefs.
Hope my thinking is correct.
michel51
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Hmm..., you're right.freak wrote:Then you cannot place PureBasic in the applications folder for users who do not
have write access there.
But is it possible to run PB WITHOUT write access? (May be it's a crazy question)
michel51
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
But I think, EVERY user has his own private folder, where the tmp folder is placed in.freak wrote:Everything is written into the /tmp/ folder. There is no writing going on in the PB directory itself.
But if you place the prefs inside, you need write access or it will not work.
The privat folder is invisible and locked for other users, thats correct. But the OWNER has read & write access.
Or am I wrong? It's really complicated..
michel51
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta

