{"action":"closed","issue":{"url":"https://api.github.com/repos/electron/electron/issues/5116","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/5116/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/5116/comments","events_url":"https://api.github.com/repos/electron/electron/issues/5116/events","html_url":"https://github.com/electron/electron/issues/5116","id":147598468,"number":5116,"title":"app.getVersion() not working on OSX","user":{"login":"Darkle","id":6868833,"avatar_url":"https://avatars.githubusercontent.com/u/6868833?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkle","html_url":"https://github.com/Darkle","followers_url":"https://api.github.com/users/Darkle/followers","following_url":"https://api.github.com/users/Darkle/following{/other_user}","gists_url":"https://api.github.com/users/Darkle/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkle/subscriptions","organizations_url":"https://api.github.com/users/Darkle/orgs","repos_url":"https://api.github.com/users/Darkle/repos","events_url":"https://api.github.com/users/Darkle/events{/privacy}","received_events_url":"https://api.github.com/users/Darkle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T00:41:52Z","updated_at":"2016-04-12T01:41:01Z","closed_at":"2016-04-12T01:41:01Z","body":"* Electron version: 0.37.5\r\n* Operating system: OSX 10.11.4\r\n\r\napp.getVersion() doesn't seem to be working for me. \r\n\r\nRunning the following code:\r\n\r\n```javascript\r\nvar electronApp = require('electron').app\r\n\r\nconsole.log(electronApp.getVersion())\r\n\r\n```\r\n\r\nprints `0.37.5` to the console.\r\n\r\nMy package.json:\r\n\r\n```json\r\n{\r\n  \"name\": \"electronversiontest\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"index.js\",\r\n  \"scripts\": {\r\n    \"start\": \"node_modules/.bin/electron index.js\",\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n  },\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"dependencies\": {\r\n    \"electron-prebuilt\": \"^0.37.5\"\r\n  }\r\n}\r\n```"}}