{"action":"created","issue":{"url":"https://api.github.com/repos/loot/loot/issues/494","labels_url":"https://api.github.com/repos/loot/loot/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/loot/loot/issues/494/comments","events_url":"https://api.github.com/repos/loot/loot/issues/494/events","html_url":"https://github.com/loot/loot/issues/494","id":112762158,"number":494,"title":"Store LOOT configuration in $XDG_CONFIG_HOME","user":{"login":"Freso","id":177659,"avatar_url":"https://avatars.githubusercontent.com/u/177659?v=3","gravatar_id":"","url":"https://api.github.com/users/Freso","html_url":"https://github.com/Freso","followers_url":"https://api.github.com/users/Freso/followers","following_url":"https://api.github.com/users/Freso/following{/other_user}","gists_url":"https://api.github.com/users/Freso/gists{/gist_id}","starred_url":"https://api.github.com/users/Freso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freso/subscriptions","organizations_url":"https://api.github.com/users/Freso/orgs","repos_url":"https://api.github.com/users/Freso/repos","events_url":"https://api.github.com/users/Freso/events{/privacy}","received_events_url":"https://api.github.com/users/Freso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/loot/loot/labels/linux","name":"linux","color":"003F5F"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T09:12:52Z","updated_at":"2015-10-29T10:49:49Z","closed_at":null,"body":"Rather than saving configuration in a subfolder to the binary, save configuration in the standard location for configuration files as per the [XDG Base Directory Specification](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).\r\n\r\nI would suggest something like:\r\n```\r\nif ($XDG_CONFIG_HOME): save_to($XDG_CONFIG_HOME/loot)\r\nelse: save_to($HOME/.config/loot)\r\n```"},"comment":{"url":"https://api.github.com/repos/loot/loot/issues/comments/152145241","html_url":"https://github.com/loot/loot/issues/494#issuecomment-152145241","issue_url":"https://api.github.com/repos/loot/loot/issues/494","id":152145241,"user":{"login":"WrinklyNinja","id":2430738,"avatar_url":"https://avatars.githubusercontent.com/u/2430738?v=3","gravatar_id":"","url":"https://api.github.com/users/WrinklyNinja","html_url":"https://github.com/WrinklyNinja","followers_url":"https://api.github.com/users/WrinklyNinja/followers","following_url":"https://api.github.com/users/WrinklyNinja/following{/other_user}","gists_url":"https://api.github.com/users/WrinklyNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/WrinklyNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WrinklyNinja/subscriptions","organizations_url":"https://api.github.com/users/WrinklyNinja/orgs","repos_url":"https://api.github.com/users/WrinklyNinja/repos","events_url":"https://api.github.com/users/WrinklyNinja/events{/privacy}","received_events_url":"https://api.github.com/users/WrinklyNinja/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T10:49:49Z","updated_at":"2015-10-29T10:49:49Z","body":"I don't see the benefit of having a portable LOOT, I don't think the games\nare portable. It's probably just needless complication.\nOn 29 Oct 2015 10:44, \"Freso\" <notifications@github.com> wrote:\n\n> Maybe it would make sense to additionally allow for a local settings\n> file/directory, to allow for \"portable\" LOOTs (ie., like it currently does)?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/loot/loot/issues/494#issuecomment-152143859>.\n>\n"}}