{"action":"closed","issue":{"url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1355","repository_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate","labels_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1355/labels{/name}","comments_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1355/comments","events_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1355/events","html_url":"https://github.com/chentsulin/electron-react-boilerplate/issues/1355","id":284132781,"number":1355,"title":"How to get the right path of third party exe file?","user":{"login":"adcentury","id":1651946,"avatar_url":"https://avatars0.githubusercontent.com/u/1651946?v=4","gravatar_id":"","url":"https://api.github.com/users/adcentury","html_url":"https://github.com/adcentury","followers_url":"https://api.github.com/users/adcentury/followers","following_url":"https://api.github.com/users/adcentury/following{/other_user}","gists_url":"https://api.github.com/users/adcentury/gists{/gist_id}","starred_url":"https://api.github.com/users/adcentury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adcentury/subscriptions","organizations_url":"https://api.github.com/users/adcentury/orgs","repos_url":"https://api.github.com/users/adcentury/repos","events_url":"https://api.github.com/users/adcentury/events{/privacy}","received_events_url":"https://api.github.com/users/adcentury/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-22T10:50:07Z","updated_at":"2017-12-28T17:09:21Z","closed_at":"2017-12-28T17:09:21Z","author_association":"NONE","body":"I have a third party exe file, located in `app/libs/thirdparty.exe`.\r\n\r\nIn dev mode, I can get this file using `path.join(__dirname, 'libs', 'thirdparty.exe')`. However, when I packaged this app, this doesn't work.\r\n\r\nI have added it to the `package.json`, but it seems not work.\r\n```\r\n\"build\": {\r\n  ...,\r\n  \"files\": [\r\n    ...,\r\n    \"libs/\"\r\n  ]\r\n}\r\n```\r\n\r\nCan anyone tell me how to find the files in a packaged app? Thanks!"}}
{"actor":{"display_login":"amilajack"}}