{"action":"opened","number":11452,"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11452","id":30369799,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11452","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11452.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11452.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11452","number":11452,"state":"open","locked":false,"title":"Place user_dir in Application Support folder for Mac SDL builds","user":{"login":"vickio","id":3583786,"avatar_url":"https://avatars.githubusercontent.com/u/3583786?v=3","gravatar_id":"","url":"https://api.github.com/users/vickio","html_url":"https://github.com/vickio","followers_url":"https://api.github.com/users/vickio/followers","following_url":"https://api.github.com/users/vickio/following{/other_user}","gists_url":"https://api.github.com/users/vickio/gists{/gist_id}","starred_url":"https://api.github.com/users/vickio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vickio/subscriptions","organizations_url":"https://api.github.com/users/vickio/orgs","repos_url":"https://api.github.com/users/vickio/repos","events_url":"https://api.github.com/users/vickio/events{/privacy}","received_events_url":"https://api.github.com/users/vickio/received_events","type":"User","site_admin":false},"body":"This is the appropriate place for user files (saves, config, etc) for Mac apps. Terminal based apps (the curses build) should use ~/.cataclysm-dda like linux, so I have this set for SDL builds only. Of course this only happens if USE_HOME_DIR is set when compiling. I chose `Cataclysm` rather than `Cataclysm DDA` for the folder name because it should match the name of the .app, which is currently `Cataclysm`.\r\n\r\nThe result is a nice packaged Mac app that follows the appropriate convention for user files when compiling like this:\r\n\r\n    make app RELEASE=1 NATIVE=osx TILES=1 CLANG=1 OSX_MIN=10.7 LOCALIZE=0 USE_HOME_DIR=1","created_at":"2015-03-03T12:37:56Z","updated_at":"2015-03-03T12:37:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11452/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11452/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11452/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/6f9a126af86728e1b3ebb7ad42321506c2252266","head":{"label":"vickio:mac-tiles-home-dir","ref":"mac-tiles-home-dir","sha":"6f9a126af86728e1b3ebb7ad42321506c2252266","user":{"login":"vickio","id":3583786,"avatar_url":"https://avatars.githubusercontent.com/u/3583786?v=3","gravatar_id":"","url":"https://api.github.com/users/vickio","html_url":"https://github.com/vickio","followers_url":"https://api.github.com/users/vickio/followers","following_url":"https://api.github.com/users/vickio/following{/other_user}","gists_url":"https://api.github.com/users/vickio/gists{/gist_id}","starred_url":"https://api.github.com/users/vickio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vickio/subscriptions","organizations_url":"https://api.github.com/users/vickio/orgs","repos_url":"https://api.github.com/users/vickio/repos","events_url":"https://api.github.com/users/vickio/events{/privacy}","received_events_url":"https://api.github.com/users/vickio/received_events","type":"User","site_admin":false},"repo":{"id":31373317,"name":"Cataclysm-DDA","full_name":"vickio/Cataclysm-DDA","owner":{"login":"vickio","id":3583786,"avatar_url":"https://avatars.githubusercontent.com/u/3583786?v=3","gravatar_id":"","url":"https://api.github.com/users/vickio","html_url":"https://github.com/vickio","followers_url":"https://api.github.com/users/vickio/followers","following_url":"https://api.github.com/users/vickio/following{/other_user}","gists_url":"https://api.github.com/users/vickio/gists{/gist_id}","starred_url":"https://api.github.com/users/vickio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vickio/subscriptions","organizations_url":"https://api.github.com/users/vickio/orgs","repos_url":"https://api.github.com/users/vickio/repos","events_url":"https://api.github.com/users/vickio/events{/privacy}","received_events_url":"https://api.github.com/users/vickio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vickio/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/vickio/Cataclysm-DDA","forks_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/vickio/Cataclysm-DDA/releases{/id}","created_at":"2015-02-26T15:22:17Z","updated_at":"2015-02-28T10:40:11Z","pushed_at":"2015-03-03T11:04:17Z","git_url":"git://github.com/vickio/Cataclysm-DDA.git","ssh_url":"git@github.com:vickio/Cataclysm-DDA.git","clone_url":"https://github.com/vickio/Cataclysm-DDA.git","svn_url":"https://github.com/vickio/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":355288,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CleverRaven:master","ref":"master","sha":"7111a0215af4c42346ccc00430f53d112d292ca2","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","created_at":"2012-09-26T22:57:43Z","updated_at":"2015-03-03T06:21:06Z","pushed_at":"2015-03-03T06:21:06Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":432151,"stargazers_count":612,"watchers_count":612,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":660,"mirror_url":null,"open_issues_count":840,"forks":660,"open_issues":840,"watchers":612,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11452"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11452"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11452"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11452/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11452/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11452/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/6f9a126af86728e1b3ebb7ad42321506c2252266"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}