{"action":"created","issue":{"url":"https://api.github.com/repos/pocorall/scm-notifier/issues/9","labels_url":"https://api.github.com/repos/pocorall/scm-notifier/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/pocorall/scm-notifier/issues/9/comments","events_url":"https://api.github.com/repos/pocorall/scm-notifier/issues/9/events","html_url":"https://github.com/pocorall/scm-notifier/issues/9","id":22061690,"number":9,"title":"INI file is created in the root of the AppData folder","user":{"login":"Guddler","id":5852361,"avatar_url":"https://avatars.githubusercontent.com/u/5852361?v=3","gravatar_id":"","url":"https://api.github.com/users/Guddler","html_url":"https://github.com/Guddler","followers_url":"https://api.github.com/users/Guddler/followers","following_url":"https://api.github.com/users/Guddler/following{/other_user}","gists_url":"https://api.github.com/users/Guddler/gists{/gist_id}","starred_url":"https://api.github.com/users/Guddler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guddler/subscriptions","organizations_url":"https://api.github.com/users/Guddler/orgs","repos_url":"https://api.github.com/users/Guddler/repos","events_url":"https://api.github.com/users/Guddler/events{/privacy}","received_events_url":"https://api.github.com/users/Guddler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-11-04T16:23:20Z","updated_at":"2015-05-21T11:45:54Z","closed_at":null,"body":"I believe it should really be in a sub folder, typically this folder would be called: TOCPlus.com\r\n\r\n```\r\ndiff --git a/SCM_Notifier/MainForm.cs b/SCM_Notifier/MainForm.cs\r\nindex 333e8a1..9b25479 100644\r\n--- a/SCM_Notifier/MainForm.cs\r\n+++ b/SCM_Notifier/MainForm.cs\r\n \r\n@@ -1357,12 +1361,20 @@ namespace pocorall.SCM_Notifier\r\n \t\t\t\t}\r\n \r\n \t\t\t\tconst string iniFileName = \"SCM_Notifier.ini\";\r\n-\t\t\t\tif (File.Exists (iniFileName))\r\n-\t\t\t\t\tConfig.Init (iniFileName);\r\n-\t\t\t\telse\r\n-\t\t\t\t\tConfig.Init (Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), iniFileName));\r\n+                if (File.Exists(iniFileName))\r\n+                {\r\n+                    Config.Init(iniFileName);\r\n+                }\r\n+                else\r\n+                {\r\n+                    // MW: Ensure INI file is created in subdirectory of AppData folder\r\n+                    if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @\"TOCPlus.com\\SCMNotifier\")))\r\n+                        Directory.CreateDirectory(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @\"TOCPlus.com\\SCMNotifier\"));\r\n+\r\n+                    Config.Init(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @\"TOCPlus.com\\SCMNotifier\\\" + iniFileName));\r\n+                }\r\n \r\n-\t\t\t\tif (!Config.IsSettingsOK())\r\n+\t\t\t    if (!Config.IsSettingsOK())\r\n \t\t\t\t\tif (new SettingsForm().ShowDialog() != DialogResult.OK)\r\n \t\t\t\t\t\treturn;\r\n```"},"comment":{"url":"https://api.github.com/repos/pocorall/scm-notifier/issues/comments/104239505","html_url":"https://github.com/pocorall/scm-notifier/issues/9#issuecomment-104239505","issue_url":"https://api.github.com/repos/pocorall/scm-notifier/issues/9","id":104239505,"user":{"login":"regisbsb","id":886819,"avatar_url":"https://avatars.githubusercontent.com/u/886819?v=3","gravatar_id":"","url":"https://api.github.com/users/regisbsb","html_url":"https://github.com/regisbsb","followers_url":"https://api.github.com/users/regisbsb/followers","following_url":"https://api.github.com/users/regisbsb/following{/other_user}","gists_url":"https://api.github.com/users/regisbsb/gists{/gist_id}","starred_url":"https://api.github.com/users/regisbsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regisbsb/subscriptions","organizations_url":"https://api.github.com/users/regisbsb/orgs","repos_url":"https://api.github.com/users/regisbsb/repos","events_url":"https://api.github.com/users/regisbsb/events{/privacy}","received_events_url":"https://api.github.com/users/regisbsb/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T11:45:54Z","updated_at":"2015-05-21T11:45:54Z","body":"I understand. Would you still be interested in forking the project and\nproviding a pull request?\nOn 21 May 2015 12:36, \"Guddler\" <notifications@github.com> wrote:\n\n> Sorry, this was a year and a half ago now! I don't work in the same job\n> any more, or use SCMNotifier any more. As for TOCPlus, I would assume that\n> was my guess at what the company was? I could easily have been doing too\n> many things at once however :)\n>\n> The point to all of this is that the INI file wants to live in a subfolder\n> off of APPDATA related to first company and then product:\n> %APPDATA%<Company><Product>, if no company because the entity is an\n> individual then just the product name would probably suffice but I would\n> probably use my own name as the company.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/pocorall/scm-notifier/issues/9#issuecomment-104236440>\n> .\n>\n"}}