OK,

I'm caught up now and get what you're doing. Sorry for wasting bandwidth on the list.

You're right, using an environment variable can help manage the user prefs. Overall, I like the idea of just putting stuff in the same folder as the app, for portability reasons. But, it does present a bit more complicated situation for debugging/supporting an app where prefs can be stored in multiple places.

FWIW, all my apps use the same altSplash startup screen engine, which automatically downloads the mainstack to the proper user folder (Mac and PC). In that way, the .exe is portable, as long as you have a connection. But, it doesn't store prefs with the .exe. Hmmm. Might be a good idea!

-Chipp

Richard Gaskin wrote:

Keeping our focus on the goal of writing portable apps (that is, apps that can run self-contained on a removable device without leaving anything on the host machine), the problem could be defined not as "Are we on a removable drive?" but "Can we write to our own program folder?"

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to