{"action":"created","issue":{"url":"https://api.github.com/repos/jcscottiii/gdec/issues/5","labels_url":"https://api.github.com/repos/jcscottiii/gdec/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jcscottiii/gdec/issues/5/comments","events_url":"https://api.github.com/repos/jcscottiii/gdec/issues/5/events","html_url":"https://github.com/jcscottiii/gdec/issues/5","id":119986433,"number":5,"title":"URL for application download","user":{"login":"nxion","id":262779,"avatar_url":"https://avatars.githubusercontent.com/u/262779?v=3","gravatar_id":"","url":"https://api.github.com/users/nxion","html_url":"https://github.com/nxion","followers_url":"https://api.github.com/users/nxion/followers","following_url":"https://api.github.com/users/nxion/following{/other_user}","gists_url":"https://api.github.com/users/nxion/gists{/gist_id}","starred_url":"https://api.github.com/users/nxion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nxion/subscriptions","organizations_url":"https://api.github.com/users/nxion/orgs","repos_url":"https://api.github.com/users/nxion/repos","events_url":"https://api.github.com/users/nxion/events{/privacy}","received_events_url":"https://api.github.com/users/nxion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-02T16:51:03Z","updated_at":"2015-12-04T12:02:15Z","closed_at":null,"body":">Get a better link for the VSCode.zip package\r\n\r\nI wanted to discus this part in your TODO section. How did you come across this URL in the Dockerfile to download Visual Studio Code to begin with:\r\n>https://az764295.vo.msecnd.net/public/0.10.1-release/VSCode-linux64.zip\r\n\r\nI went looking around at how to download it from the Microsoft site. After looking at the soure code for the download page, I found this piece of JavaScript:\r\n\r\n```js\r\n            var dv = getParameterByName('dv');\r\n            if (dv) {\r\n                $('#confirmation').show();\r\n                reportAction('Download', dv, { 'version': 'preview' });\r\n                \r\n                var links = {\r\n                    'osx': 'http://go.microsoft.com/fwlink/?LinkID=620882',\r\n                    'win': 'http://go.microsoft.com/fwlink/?LinkID=623230',\r\n                    'linux64': 'http://go.microsoft.com/fwlink/?LinkID=620884',\r\n                    'linux32': 'http://go.microsoft.com/fwlink/?LinkID=620885',\r\n                    'winzip': 'http://go.microsoft.com/fwlink/?LinkID=623231'\r\n                }\r\n                window.location.href = links[dv];\r\n            }\r\n        });\r\n```\r\nThe most interesting piece of this snippet is the ``var links``. If you use browse to one of the links above it will trigger a download for the appropriate platform. Maybe it can be used to replace the one you have?"},"comment":{"url":"https://api.github.com/repos/jcscottiii/gdec/issues/comments/161950968","html_url":"https://github.com/jcscottiii/gdec/issues/5#issuecomment-161950968","issue_url":"https://api.github.com/repos/jcscottiii/gdec/issues/5","id":161950968,"user":{"login":"jcscottiii","id":7788930,"avatar_url":"https://avatars.githubusercontent.com/u/7788930?v=3","gravatar_id":"","url":"https://api.github.com/users/jcscottiii","html_url":"https://github.com/jcscottiii","followers_url":"https://api.github.com/users/jcscottiii/followers","following_url":"https://api.github.com/users/jcscottiii/following{/other_user}","gists_url":"https://api.github.com/users/jcscottiii/gists{/gist_id}","starred_url":"https://api.github.com/users/jcscottiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcscottiii/subscriptions","organizations_url":"https://api.github.com/users/jcscottiii/orgs","repos_url":"https://api.github.com/users/jcscottiii/repos","events_url":"https://api.github.com/users/jcscottiii/events{/privacy}","received_events_url":"https://api.github.com/users/jcscottiii/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T12:02:15Z","updated_at":"2015-12-04T12:02:15Z","body":"Another way of finding the true link, after you click the link to download the binary, if you are using Chrome, go to Downloads and you'll see the real link:\r\n![image](https://cloud.githubusercontent.com/assets/7788930/11589238/ee1be620-9a54-11e5-805d-315ebbd81d67.png)\r\n"}}