L
Lionel van den Berg
I'm looking at using JWS to deploy an app that I previously created a
traditional installer for.
My first thoughts were that I wanted to install all the files and
directories in the apps own install directory but then I discovered that
is not the way JWS works. That seems ok, but what about files that I
want to create on the local computer like logs. At the moment the
working directory appears to be the Desktop!!!! So I make crap appear on
the desktop!
I could easily choose a directory like .myapp in /home/lionel or in
C:\Documents and Settings\lionel\Application Data\MyApp but that
requires OS specific information.
Is there some way I can get an appropriate directory in a cross-platform
manner? I want this to be a sensible directory so that the user can find
it fairly easily if I need them to.
I'm also disappointed to discover that desktop shortcuts are not
supported for any OS other than windows!
Thanks
Lionel.
traditional installer for.
My first thoughts were that I wanted to install all the files and
directories in the apps own install directory but then I discovered that
is not the way JWS works. That seems ok, but what about files that I
want to create on the local computer like logs. At the moment the
working directory appears to be the Desktop!!!! So I make crap appear on
the desktop!
I could easily choose a directory like .myapp in /home/lionel or in
C:\Documents and Settings\lionel\Application Data\MyApp but that
requires OS specific information.
Is there some way I can get an appropriate directory in a cross-platform
manner? I want this to be a sensible directory so that the user can find
it fairly easily if I need them to.
I'm also disappointed to discover that desktop shortcuts are not
supported for any OS other than windows!
Thanks
Lionel.