{"action":"created","issue":{"url":"https://api.github.com/repos/edjafarov/node-webkit-updater/issues/86","labels_url":"https://api.github.com/repos/edjafarov/node-webkit-updater/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/edjafarov/node-webkit-updater/issues/86/comments","events_url":"https://api.github.com/repos/edjafarov/node-webkit-updater/issues/86/events","html_url":"https://github.com/edjafarov/node-webkit-updater/issues/86","id":83396045,"number":86,"title":"Cannot update in OSX","user":{"login":"firsara","id":1210687,"avatar_url":"https://avatars.githubusercontent.com/u/1210687?v=3","gravatar_id":"","url":"https://api.github.com/users/firsara","html_url":"https://github.com/firsara","followers_url":"https://api.github.com/users/firsara/followers","following_url":"https://api.github.com/users/firsara/following{/other_user}","gists_url":"https://api.github.com/users/firsara/gists{/gist_id}","starred_url":"https://api.github.com/users/firsara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firsara/subscriptions","organizations_url":"https://api.github.com/users/firsara/orgs","repos_url":"https://api.github.com/users/firsara/repos","events_url":"https://api.github.com/users/firsara/events{/privacy}","received_events_url":"https://api.github.com/users/firsara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T08:59:50Z","updated_at":"2015-06-01T12:32:39Z","closed_at":null,"body":"didn't test on windows, but on mac I found the following problem:\r\n\r\ntried the updater, everything as expected and fine. downloads to temporary directory and unpacks.\r\n\r\nWhen trying to run the newly downloaded application via node's child process / spawn:\r\nsimply closes the application but cannot run the new app.\r\nI assume this is due to the fact that they are the same application and the system cannot run a new instance while the other one is still open. I tried giving the downloaded application a new new by modifying the package.json file, then it could run the updater.\r\n\r\nAny ideas on how to fix this?\r\nMaybe there's also just a problem with node's spawn (the option detached doesn't seem to work properly...)"},"comment":{"url":"https://api.github.com/repos/edjafarov/node-webkit-updater/issues/comments/107423583","html_url":"https://github.com/edjafarov/node-webkit-updater/issues/86#issuecomment-107423583","issue_url":"https://api.github.com/repos/edjafarov/node-webkit-updater/issues/86","id":107423583,"user":{"login":"firsara","id":1210687,"avatar_url":"https://avatars.githubusercontent.com/u/1210687?v=3","gravatar_id":"","url":"https://api.github.com/users/firsara","html_url":"https://github.com/firsara","followers_url":"https://api.github.com/users/firsara/followers","following_url":"https://api.github.com/users/firsara/following{/other_user}","gists_url":"https://api.github.com/users/firsara/gists{/gist_id}","starred_url":"https://api.github.com/users/firsara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firsara/subscriptions","organizations_url":"https://api.github.com/users/firsara/orgs","repos_url":"https://api.github.com/users/firsara/repos","events_url":"https://api.github.com/users/firsara/events{/privacy}","received_events_url":"https://api.github.com/users/firsara/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T12:32:39Z","updated_at":"2015-06-01T12:32:39Z","body":"ok nevermind, adding some setTimeout's before running the new application does the trick for me."}}