KanoComputing/make-snake — pull request #18 by alexaverill (2014-04-12 04:12:11+00:00)
Title: Missing Snake-content folder and themes

Ok so there was a bug in the theme code that would not allow the Snake-content folder to be created, so the only theme edited was that which was in the /usr/share/make-snake/. I think it had to do with ensure_dir(), as it was throwing an error about the ~ and not having permission to create that directory/ use the ~ operator.
The code below uses the kano.utils get_home() in order to add the home directory instead of using the ~ it seems to fix the problem on my Debian build as well as on Kano Devbox, and it now will create the Snake-content folder in the users home directory, as well as update the custom theme stored there, instead of in the usr/share location. This will be helpful later once there are more then one custom theme.

I apologize for the messy commits, however the last two are based on the latest code on here. The earlier ones were my playing around with the editor menu without having the foresight to create a branch.