{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/11436","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/11436/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/11436/comments","events_url":"https://api.github.com/repos/electron/electron/issues/11436/events","html_url":"https://github.com/electron/electron/issues/11436","id":282104594,"number":11436,"title":"Use \"will-download\", blocked the page","user":{"login":"lif3ng","id":8555501,"avatar_url":"https://avatars2.githubusercontent.com/u/8555501?v=4","gravatar_id":"","url":"https://api.github.com/users/lif3ng","html_url":"https://github.com/lif3ng","followers_url":"https://api.github.com/users/lif3ng/followers","following_url":"https://api.github.com/users/lif3ng/following{/other_user}","gists_url":"https://api.github.com/users/lif3ng/gists{/gist_id}","starred_url":"https://api.github.com/users/lif3ng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lif3ng/subscriptions","organizations_url":"https://api.github.com/users/lif3ng/orgs","repos_url":"https://api.github.com/users/lif3ng/repos","events_url":"https://api.github.com/users/lif3ng/events{/privacy}","received_events_url":"https://api.github.com/users/lif3ng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-14T13:42:33Z","updated_at":"2017-12-14T13:42:35Z","closed_at":null,"author_association":"NONE","body":"I hope to detect the existence of this file in the download directory, if there is no normal download, if there is prompted to re-download and open the directory to choose from.\r\n\r\nI use two promises, which are used to detect the existence of this file on the disk, and the prompt exists to allow users to choose to re-download or open.\r\n\r\nIn the end it did not work, but the main thread's log is the same as expected. I wrote a simple demo for testing:  https://github.com/lif3ng/electron-download-block-demo \r\n\r\nthanks very much 🙏"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/351713915","html_url":"https://github.com/electron/electron/issues/11436#issuecomment-351713915","issue_url":"https://api.github.com/repos/electron/electron/issues/11436","id":351713915,"user":{"login":"welcome[bot]","id":30606887,"avatar_url":"https://avatars0.githubusercontent.com/in/4141?v=4","gravatar_id":"","url":"https://api.github.com/users/welcome%5Bbot%5D","html_url":"https://github.com/apps/welcome","followers_url":"https://api.github.com/users/welcome%5Bbot%5D/followers","following_url":"https://api.github.com/users/welcome%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/welcome%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/welcome%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/welcome%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/welcome%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/welcome%5Bbot%5D/repos","events_url":"https://api.github.com/users/welcome%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/welcome%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2017-12-14T13:42:35Z","updated_at":"2017-12-14T13:42:35Z","author_association":"NONE","body":"👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.\n\nTo help make it easier for us to investigate your issue, please follow the [contributing guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md#submitting-issues).\n"}}
{"actor":{"display_login":"welcome"}}