{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/4414","repository_url":"https://api.github.com/repos/atom/electron","labels_url":"https://api.github.com/repos/atom/electron/issues/4414/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/4414/comments","events_url":"https://api.github.com/repos/atom/electron/issues/4414/events","html_url":"https://github.com/atom/electron/issues/4414","id":132020002,"number":4414,"title":"Add create shortcut API","user":{"login":"adam-lynch","id":1427241,"avatar_url":"https://avatars.githubusercontent.com/u/1427241?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-lynch","html_url":"https://github.com/adam-lynch","followers_url":"https://api.github.com/users/adam-lynch/followers","following_url":"https://api.github.com/users/adam-lynch/following{/other_user}","gists_url":"https://api.github.com/users/adam-lynch/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-lynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-lynch/subscriptions","organizations_url":"https://api.github.com/users/adam-lynch/orgs","repos_url":"https://api.github.com/users/adam-lynch/repos","events_url":"https://api.github.com/users/adam-lynch/events{/privacy}","received_events_url":"https://api.github.com/users/adam-lynch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/atom/electron/labels/windows","name":"windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-07T22:10:30Z","updated_at":"2016-02-12T17:01:17Z","closed_at":null,"body":"In order to use notifications on Windows 8-8.1, we need to create a shortcut. Instead of having to use a native module like [`node-win-shortcut`](https://www.npmjs.com/package/node-win-shortcut), could Electron provide a method? [NW.js does](https://github.com/nwjs/nw.js/blob/00eaaee63f668eae4e65fb812ad3f28d3411393c/src/api/app/app.cc#L154); e.g. `gui.App.createShortcut(process.env.APPDATA + \"\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\node-webkit.lnk\")`"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/183413424","html_url":"https://github.com/atom/electron/issues/4414#issuecomment-183413424","issue_url":"https://api.github.com/repos/atom/electron/issues/4414","id":183413424,"user":{"login":"enlight","id":233003,"avatar_url":"https://avatars.githubusercontent.com/u/233003?v=3","gravatar_id":"","url":"https://api.github.com/users/enlight","html_url":"https://github.com/enlight","followers_url":"https://api.github.com/users/enlight/followers","following_url":"https://api.github.com/users/enlight/following{/other_user}","gists_url":"https://api.github.com/users/enlight/gists{/gist_id}","starred_url":"https://api.github.com/users/enlight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enlight/subscriptions","organizations_url":"https://api.github.com/users/enlight/orgs","repos_url":"https://api.github.com/users/enlight/repos","events_url":"https://api.github.com/users/enlight/events{/privacy}","received_events_url":"https://api.github.com/users/enlight/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T17:01:17Z","updated_at":"2016-02-12T17:01:17Z","body":"> Not sure that native modules doc helps me? I'd be using one, not building one?\r\n\r\nYou have to rebuild native modules in order to use them in Electron. If you were using plain old Node you'd also have to rebuild them unless they happened to rely on `node-pre-gyp`."}}