Skip to content

Support XDG Base Directory specification #49

@CrumblyLiquid

Description

@CrumblyLiquid

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions