It would be great if pebble-tool supported the XDG Base Directory specification for downloading SDKs.
Right now SDKs are downloaded into ~/.pebble-sdk but it would be better to put them probably under XDG_DATA_HOME so like $XDG_DATA_HOME/pebble-sdk or something so that the folder doesn't pollute the home directory.
To accommodate for existing installations is pretty easy I think. Just check if ~/.pebble-sdk exists and if not use $XDG_DATA_HOME/pebble-sdk (and fall back to $HOME/.local/share. If ~/.pebble-sdk exists, just use the existing one.
(I'm happy to implement this myself if there's interest in this feature)
It would be great if
pebble-toolsupported the XDG Base Directory specification for downloading SDKs.Right now SDKs are downloaded into
~/.pebble-sdkbut it would be better to put them probably underXDG_DATA_HOMEso like$XDG_DATA_HOME/pebble-sdkor something so that the folder doesn't pollute the home directory.To accommodate for existing installations is pretty easy I think. Just check if
~/.pebble-sdkexists and if not use$XDG_DATA_HOME/pebble-sdk(and fall back to$HOME/.local/share. If~/.pebble-sdkexists, just use the existing one.(I'm happy to implement this myself if there's interest in this feature)