{"action":"created","issue":{"url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/225","repository_url":"https://api.github.com/repos/szwacz/electron-boilerplate","labels_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/225/comments","events_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/225/events","html_url":"https://github.com/szwacz/electron-boilerplate/issues/225","id":189394062,"number":225,"title":"asar and __dirname and npm run release","user":{"login":"OwenBrotherwood","id":866122,"avatar_url":"https://avatars.githubusercontent.com/u/866122?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenBrotherwood","html_url":"https://github.com/OwenBrotherwood","followers_url":"https://api.github.com/users/OwenBrotherwood/followers","following_url":"https://api.github.com/users/OwenBrotherwood/following{/other_user}","gists_url":"https://api.github.com/users/OwenBrotherwood/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenBrotherwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenBrotherwood/subscriptions","organizations_url":"https://api.github.com/users/OwenBrotherwood/orgs","repos_url":"https://api.github.com/users/OwenBrotherwood/repos","events_url":"https://api.github.com/users/OwenBrotherwood/events{/privacy}","received_events_url":"https://api.github.com/users/OwenBrotherwood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T13:39:31Z","updated_at":"2016-11-15T14:09:58Z","closed_at":"2016-11-15T14:09:58Z","body":"Hi,\r\nI ran into a problem trying to encapsulate existing code in electron and use boilerplate.\r\nThe existing code uses __dirname which cannot be used in asar.\r\n\r\nI am off to try and find a reference to the problem and try and disable asar production in the code.\r\nAnd see if the problem has been addressed before as an option in npm run release\r\n`\r\nThe __dirname in asar archive does not exist on filesystem, and operating systems do not allow setting current working to somewhere does not exist, so I'm afraid this is technically impossible.\r\n`\r\nhttps://github.com/electron/electron/issues/2081"},"comment":{"url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/comments/260650570","html_url":"https://github.com/szwacz/electron-boilerplate/issues/225#issuecomment-260650570","issue_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/225","id":260650570,"user":{"login":"OwenBrotherwood","id":866122,"avatar_url":"https://avatars.githubusercontent.com/u/866122?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenBrotherwood","html_url":"https://github.com/OwenBrotherwood","followers_url":"https://api.github.com/users/OwenBrotherwood/followers","following_url":"https://api.github.com/users/OwenBrotherwood/following{/other_user}","gists_url":"https://api.github.com/users/OwenBrotherwood/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenBrotherwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenBrotherwood/subscriptions","organizations_url":"https://api.github.com/users/OwenBrotherwood/orgs","repos_url":"https://api.github.com/users/OwenBrotherwood/repos","events_url":"https://api.github.com/users/OwenBrotherwood/events{/privacy}","received_events_url":"https://api.github.com/users/OwenBrotherwood/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T14:09:58Z","updated_at":"2016-11-15T14:09:58Z","body":"https://github.com/szwacz/electron-boilerplate/issues/129"}}
{"actor":{"display_login":"OwenBrotherwood"}}