supertuxkart / stk-editor

SuperTuxKart - Track Editor
GNU General Public License v3.0
55 stars 24 forks source link

Files should be saved in local user directories #1

Open deveee opened 9 years ago

deveee commented 9 years ago

Atm. files are saved in data/editor/maps directory. This will cause issues, because STK data is installed in read-only directory by default (/usr/share/ or "c:\Program Files" on windows). You need to have admin rights to write something there.

I think that better will be to save it in user home directory, "my documents" or something similar. Or just display dialog window and allow user to choose where to save it.

James-Ashwood commented 2 years ago

I have found that, even after running stk-editor with sudo, I am getting the "save failed", for probably this reason. This is important.