{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/6623","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/6623/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/6623/comments","events_url":"https://api.github.com/repos/electron/electron/issues/6623/events","html_url":"https://github.com/electron/electron/pull/6623","id":167826064,"number":6623,"title":"Add shell.writeShortcutLink/readShortcutLink APIs","user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-27T10:53:08Z","updated_at":"2016-08-03T02:17:50Z","closed_at":"2016-07-27T23:48:52Z","pull_request":{"url":"https://api.github.com/repos/electron/electron/pulls/6623","html_url":"https://github.com/electron/electron/pull/6623","diff_url":"https://github.com/electron/electron/pull/6623.diff","patch_url":"https://github.com/electron/electron/pull/6623.patch"},"body":"```markdown\r\n\r\n### `shell.writeShortcutLink(shortcutPath[, operation], options)` _Windows_\r\n\r\n* `shortcutPath` String\r\n* `operation` String (optional) - Default is `create`, can be one of followings:\r\n  * `create` - Creates a new shortcut, overwriting if necessary.\r\n  * `update` - Updates specified properties only on an existing shortcut.\r\n  * `replace` - Overwrites an existing shortcut, fails if the shortcut doesn't\r\n    exist.\r\n* `options` Object\r\n  * `target` String - The target to launch from this shortcut.\r\n  * `cwd` String (optional) - The target to launch from this shortcut. Default\r\n    is empty.\r\n  * `args` String (optional) - The arguments to be applied to `target` when\r\n    launching from this shortcut. Default is empty.\r\n  * `description` String (optional) - The description of the shortcut. Default\r\n    is empty.\r\n  * `icon` String (optional) - The path to the icon, can be a DLL or EXE. `icon`\r\n    and `iconIndex` have to be set together. Default is empty, which uses the\r\n    target's icon.\r\n  * `iconIndex` Integer (optional) - The resource ID of icon when `icon` is a\r\n    DLL or EXE. Default is 0.\r\n  * `appUserModelId` String (optional) - The Application User Model ID. Default\r\n    is empty.\r\n\r\nCreates or updates a shortcut link at `shortcutPath`. On success `true` is\r\nreturned, otherwise `false` is returned.\r\n\r\n### `shell.readShortcutLink(shortcutPath)` _Windows_\r\n\r\nResolves the shortcut link at `shortcutPath`, an object is returned with the\r\nfields described in the `options` of `shell.writeShortcutLink`.\r\n\r\nAn exception will be thrown when any error happens.\r\n```\r\n\r\nClose #4414."},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/237113661","html_url":"https://github.com/electron/electron/pull/6623#issuecomment-237113661","issue_url":"https://api.github.com/repos/electron/electron/issues/6623","id":237113661,"user":{"login":"KochiyaOcean","id":8194131,"avatar_url":"https://avatars.githubusercontent.com/u/8194131?v=3","gravatar_id":"","url":"https://api.github.com/users/KochiyaOcean","html_url":"https://github.com/KochiyaOcean","followers_url":"https://api.github.com/users/KochiyaOcean/followers","following_url":"https://api.github.com/users/KochiyaOcean/following{/other_user}","gists_url":"https://api.github.com/users/KochiyaOcean/gists{/gist_id}","starred_url":"https://api.github.com/users/KochiyaOcean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KochiyaOcean/subscriptions","organizations_url":"https://api.github.com/users/KochiyaOcean/orgs","repos_url":"https://api.github.com/users/KochiyaOcean/repos","events_url":"https://api.github.com/users/KochiyaOcean/events{/privacy}","received_events_url":"https://api.github.com/users/KochiyaOcean/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T02:17:50Z","updated_at":"2016-08-03T02:17:50Z","body":"@MarshallOfSound thanks, it works!"}}
{"actor":{"display_login":"KochiyaOcean"}}