{"action":"closed","issue":{"url":"https://api.github.com/repos/resin-io/herostratus/issues/35","labels_url":"https://api.github.com/repos/resin-io/herostratus/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/resin-io/herostratus/issues/35/comments","events_url":"https://api.github.com/repos/resin-io/herostratus/issues/35/events","html_url":"https://github.com/resin-io/herostratus/issues/35","id":117670924,"number":35,"title":"No drives detected on packaged Ubuntu","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/resin-io/herostratus/labels/platform:linux","name":"platform:linux","color":"fbca04"},{"url":"https://api.github.com/repos/resin-io/herostratus/labels/type:packaging","name":"type:packaging","color":"e11d21"},{"url":"https://api.github.com/repos/resin-io/herostratus/labels/waiting%20pr","name":"waiting pr","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-18T20:12:09Z","updated_at":"2015-11-30T02:44:46Z","closed_at":"2015-11-30T02:44:46Z","body":"I get the following on Ubuntu:\r\n\r\n```sh\r\nUnhandled rejection Error: Command failed: /bin/sh -c \"/home/jviotti/Desktop/Herostratus-linux-x64/resources/app.asar/node_modules/drivelist/scripts\"/linux.sh\r\n/bin/sh: 1: /home/jviotti/Desktop/Herostratus-linux-x64/resources/app.asar/node_modules/drivelist/scripts/linux.sh: not found\r\n\r\n    at ChildProcess.exithandler (child_process.js:209:12)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:172:7)\r\n    at maybeClose (internal/child_process.js:764:16)\r\n    at Socket.<anonymous> (internal/child_process.js:319:11)\r\n    at emitOne (events.js:77:13)\r\n    at Socket.emit (events.js:169:7)\r\n    at Pipe._onclose (net.js:469:12)\r\n```\r\n\r\nDrivelist executes scripts as child processes to discover the drives, however the fact that everything is packaged into an `asar` makes the scripts inaccessible.\r\n\r\nThis is probably the same issue as https://github.com/resin-io/herostratus/issues/28\r\n"}}