AIR database file location

3 views
Skip to first unread message

muntzen

unread,
Apr 28, 2010, 9:02:06 AM4/28/10
to ActiveJS
In the AIR implementation, the database file is being created under
air.File.applicationDirectory, this really should be created under
air.File.applicationStorageDirectory, which is a directory much more
likely to have write privileges when the app is installed on a user's
machine. applicationDirectory seems to work on a Mac's default
installation path, but not Linux and Windows is hit and miss. I've
changed this to applicationStorageDirectory and it's working fine on
all deployed platforms.

If anybody is out there (this group seems to only get spam), let me
know if you want this committed back to the repo.

-Eric

--
You received this message because you are subscribed to the Google Groups "ActiveJS" group.
To post to this group, send email to acti...@googlegroups.com.
To unsubscribe from this group, send email to activejs+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/activejs?hl=en.

Reply all
Reply to author
Forward
0 new messages