{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-desktop/issues/50","labels_url":"https://api.github.com/repos/Automattic/wp-desktop/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-desktop/issues/50/comments","events_url":"https://api.github.com/repos/Automattic/wp-desktop/issues/50/events","html_url":"https://github.com/Automattic/wp-desktop/issues/50","id":128744324,"number":50,"title":"Fix Packaging","user":{"login":"mjangda","id":86105,"avatar_url":"https://avatars.githubusercontent.com/u/86105?v=3","gravatar_id":"","url":"https://api.github.com/users/mjangda","html_url":"https://github.com/mjangda","followers_url":"https://api.github.com/users/mjangda/followers","following_url":"https://api.github.com/users/mjangda/following{/other_user}","gists_url":"https://api.github.com/users/mjangda/gists{/gist_id}","starred_url":"https://api.github.com/users/mjangda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjangda/subscriptions","organizations_url":"https://api.github.com/users/mjangda/orgs","repos_url":"https://api.github.com/users/mjangda/repos","events_url":"https://api.github.com/users/mjangda/events{/privacy}","received_events_url":"https://api.github.com/users/mjangda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-desktop/labels/[Pri]%20BLOCKER","name":"[Pri] BLOCKER","color":"e84d10"},{"url":"https://api.github.com/repos/Automattic/wp-desktop/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-26T07:19:36Z","updated_at":"2016-01-26T18:59:13Z","closed_at":null,"body":"Continued from #45:\r\n\r\nSince moving to running Calypso in a separate process, we can no longer package the app.\r\n\r\nThis is because we package the app in an `asar` to avoid path length issues on Windows. However, `asar` has limitations with `child_process` + fork (we can't set a `cwd` correctly, which causes Calypso boot up to fail when running a packaged version of the app).\r\n\r\nWe need to fix this. Some options:\r\n\r\n- Make Calypso work properly even when `cwd` isn't properly set.\r\n- Use `asar` for only some parts of the app (e.g. node_modules)\r\n- Fix issues with asar and forked processes"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-desktop/issues/comments/175179091","html_url":"https://github.com/Automattic/wp-desktop/issues/50#issuecomment-175179091","issue_url":"https://api.github.com/repos/Automattic/wp-desktop/issues/50","id":175179091,"user":{"login":"gziolo","id":699132,"avatar_url":"https://avatars.githubusercontent.com/u/699132?v=3","gravatar_id":"","url":"https://api.github.com/users/gziolo","html_url":"https://github.com/gziolo","followers_url":"https://api.github.com/users/gziolo/followers","following_url":"https://api.github.com/users/gziolo/following{/other_user}","gists_url":"https://api.github.com/users/gziolo/gists{/gist_id}","starred_url":"https://api.github.com/users/gziolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gziolo/subscriptions","organizations_url":"https://api.github.com/users/gziolo/orgs","repos_url":"https://api.github.com/users/gziolo/repos","events_url":"https://api.github.com/users/gziolo/events{/privacy}","received_events_url":"https://api.github.com/users/gziolo/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T18:59:13Z","updated_at":"2016-01-26T18:59:13Z","body":"@mkaz we started working on In App Purchases, which targets only Mac App Store version. It's going to use native Store Kit and needs to be signed off using certificate. When I was testing it back in December 'package-mas' was working properly. I'll try 'package-osx' tomorrow, maybe it's enough to do initial development :)"}}