{"action":"created","issue":{"url":"https://api.github.com/repos/jaketrent/jaketrent-blog/issues/11","repository_url":"https://api.github.com/repos/jaketrent/jaketrent-blog","labels_url":"https://api.github.com/repos/jaketrent/jaketrent-blog/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jaketrent/jaketrent-blog/issues/11/comments","events_url":"https://api.github.com/repos/jaketrent/jaketrent-blog/issues/11/events","html_url":"https://github.com/jaketrent/jaketrent-blog/issues/11","id":173386690,"number":11,"title":"Electron Fundamentals bug on Windows","user":{"login":"RHMason","id":3579139,"avatar_url":"https://avatars.githubusercontent.com/u/3579139?v=3","gravatar_id":"","url":"https://api.github.com/users/RHMason","html_url":"https://github.com/RHMason","followers_url":"https://api.github.com/users/RHMason/followers","following_url":"https://api.github.com/users/RHMason/following{/other_user}","gists_url":"https://api.github.com/users/RHMason/gists{/gist_id}","starred_url":"https://api.github.com/users/RHMason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RHMason/subscriptions","organizations_url":"https://api.github.com/users/RHMason/orgs","repos_url":"https://api.github.com/users/RHMason/repos","events_url":"https://api.github.com/users/RHMason/events{/privacy}","received_events_url":"https://api.github.com/users/RHMason/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-26T07:25:07Z","updated_at":"2016-08-26T12:22:34Z","closed_at":"2016-08-26T12:22:34Z","body":"Jake,\r\n\r\nReally liking your course but ran across a stubborn bug tonight with the loadURL in main.js.  Absolutely not working on Windows 7, nor I think on Windows at all.\r\n\r\nFound the solution in the last comment by Harmandeep-Singh here:\r\nhttps://github.com/electron/electron-quick-start/issues/18\r\n\r\nHere's a working version of the line:\r\n\r\nmainWindow.loadURL('file://' + __dirname + '/index.html')\r\n\r\nNote that this is a bug the Electron people have known about for nine months!  They're not showing a lot of love for Windows developers ;<(.\r\n\r\n\r\nRick"},"comment":{"url":"https://api.github.com/repos/jaketrent/jaketrent-blog/issues/comments/242721002","html_url":"https://github.com/jaketrent/jaketrent-blog/issues/11#issuecomment-242721002","issue_url":"https://api.github.com/repos/jaketrent/jaketrent-blog/issues/11","id":242721002,"user":{"login":"jaketrent","id":552044,"avatar_url":"https://avatars.githubusercontent.com/u/552044?v=3","gravatar_id":"","url":"https://api.github.com/users/jaketrent","html_url":"https://github.com/jaketrent","followers_url":"https://api.github.com/users/jaketrent/followers","following_url":"https://api.github.com/users/jaketrent/following{/other_user}","gists_url":"https://api.github.com/users/jaketrent/gists{/gist_id}","starred_url":"https://api.github.com/users/jaketrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaketrent/subscriptions","organizations_url":"https://api.github.com/users/jaketrent/orgs","repos_url":"https://api.github.com/users/jaketrent/repos","events_url":"https://api.github.com/users/jaketrent/events{/privacy}","received_events_url":"https://api.github.com/users/jaketrent/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T12:22:34Z","updated_at":"2016-08-26T12:22:34Z","body":"@RHMason Sorry, I think I'm going to back track a little here...  I'm looking at the discussion tab on the course.  It looks like someone else tried to write the line in question.  They used single quotes like this:\r\n\r\n```\r\nmainWindow.loadURL('file://${__dirname}/countdown.html')\r\n```\r\n\r\nWhen the should have used back ticks:\r\n\r\n```\r\nmainWindow.loadURL(`file://${__dirname}/countdown.html`)\r\n```\r\n\r\nIt looks like you have probably made the same mistake based on your comment and my closer inspection of the code in the bug you referenced.  Note that the bug is closed (essentially as a \"will not fix/no problem\") and the person who filed that report also used single quotes instead of back ticks.\r\n\r\nHere's some additional info on this es6 feature of string interpolation or \"template literals\":\r\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals"}}
{"actor":{"display_login":"jaketrent"}}