← Back to team overview

ubuntu-appstore-developers team mailing list archive

Save data for click applications

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just came across this in an app in the standard queue so figured I'd
ask how we intend to handle this in click.

Basically the game is installed in /opt/app-name/  the save data at
the end of the level is set to write in the directory that the app is
in.  Because the user is non-root the data can't save the
/opt/app-name folder and crashes.

How will this be handled in click?  I would suggest at least
documenting this somewhere so that the devs are aware upfront where
and how we expect them to store data from their applications.
Something like ~/.cache/click-apps/com.me.myapp/  would be my
suggestion as a nice save file format but I thought I would ask as I
hit it :)
- -- 
You make it, I'll break it!

I love my job :)
http://www.ubuntu.com
http://www.canonical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIXlccACgkQT5xqyT+h3OhfqgCfczwnbsZQn3ifVsS8bOtSoXGa
iJgAn2Da6ZniX+InPWEu/e69JzbEtsZT
=aeY5
-----END PGP SIGNATURE-----


Follow ups