{"action":"created","comment":{"url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/comments/64805791","id":64805791,"diff_hunk":"@@ -18,7 +20,10 @@ let key;\n const keyPath = `${appPath}/key.txt`;\n try { key = fs.readFileSync(keyPath) } catch (_) {}\n \n-const archive = drive.createArchive(key, { live: true });\n+const archive = drive.createArchive(key, {\n+  live: true,\n+  file: name => raf(`${appPath}/files/${name}`)","path":"app.js","position":18,"original_position":18,"commit_id":"bed8efa3b051fef8c4a533cc6821a3656ec21d03","original_commit_id":"bed8efa3b051fef8c4a533cc6821a3656ec21d03","user":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"body":"i think we should put them in the downloads folder (whatever the equivalent is on each os). this points to the electron folder right?","created_at":"2016-05-26T19:27:37Z","updated_at":"2016-05-26T19:27:37Z","html_url":"https://github.com/juliangruber/dat-desktop/pull/4#discussion_r64805791","pull_request_url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/comments/64805791"},"html":{"href":"https://github.com/juliangruber/dat-desktop/pull/4#discussion_r64805791"},"pull_request":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4","id":71590870,"html_url":"https://github.com/juliangruber/dat-desktop/pull/4","diff_url":"https://github.com/juliangruber/dat-desktop/pull/4.diff","patch_url":"https://github.com/juliangruber/dat-desktop/pull/4.patch","issue_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues/4","number":4,"state":"open","locked":false,"title":"store files of disk instead of leveldb","user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"body":"cc @mafintosh","created_at":"2016-05-26T17:07:32Z","updated_at":"2016-05-26T19:27:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c161a5a623fbf4fcd2cb0a66aa0e66bd92f43142","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4/commits","review_comments_url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4/comments","review_comment_url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues/4/comments","statuses_url":"https://api.github.com/repos/juliangruber/dat-desktop/statuses/bed8efa3b051fef8c4a533cc6821a3656ec21d03","head":{"label":"juliangruber:store-files-on-disk","ref":"store-files-on-disk","sha":"bed8efa3b051fef8c4a533cc6821a3656ec21d03","user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"repo":{"id":59699743,"name":"dat-desktop","full_name":"juliangruber/dat-desktop","owner":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juliangruber/dat-desktop","description":"[Work In Progress] Dat Desktop App","fork":false,"url":"https://api.github.com/repos/juliangruber/dat-desktop","forks_url":"https://api.github.com/repos/juliangruber/dat-desktop/forks","keys_url":"https://api.github.com/repos/juliangruber/dat-desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliangruber/dat-desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliangruber/dat-desktop/teams","hooks_url":"https://api.github.com/repos/juliangruber/dat-desktop/hooks","issue_events_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues/events{/number}","events_url":"https://api.github.com/repos/juliangruber/dat-desktop/events","assignees_url":"https://api.github.com/repos/juliangruber/dat-desktop/assignees{/user}","branches_url":"https://api.github.com/repos/juliangruber/dat-desktop/branches{/branch}","tags_url":"https://api.github.com/repos/juliangruber/dat-desktop/tags","blobs_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliangruber/dat-desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/juliangruber/dat-desktop/languages","stargazers_url":"https://api.github.com/repos/juliangruber/dat-desktop/stargazers","contributors_url":"https://api.github.com/repos/juliangruber/dat-desktop/contributors","subscribers_url":"https://api.github.com/repos/juliangruber/dat-desktop/subscribers","subscription_url":"https://api.github.com/repos/juliangruber/dat-desktop/subscription","commits_url":"https://api.github.com/repos/juliangruber/dat-desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliangruber/dat-desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliangruber/dat-desktop/contents/{+path}","compare_url":"https://api.github.com/repos/juliangruber/dat-desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliangruber/dat-desktop/merges","archive_url":"https://api.github.com/repos/juliangruber/dat-desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliangruber/dat-desktop/downloads","issues_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues{/number}","pulls_url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/juliangruber/dat-desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/juliangruber/dat-desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliangruber/dat-desktop/labels{/name}","releases_url":"https://api.github.com/repos/juliangruber/dat-desktop/releases{/id}","deployments_url":"https://api.github.com/repos/juliangruber/dat-desktop/deployments","created_at":"2016-05-25T21:42:53Z","updated_at":"2016-05-26T02:55:11Z","pushed_at":"2016-05-26T17:16:10Z","git_url":"git://github.com/juliangruber/dat-desktop.git","ssh_url":"git@github.com:juliangruber/dat-desktop.git","clone_url":"https://github.com/juliangruber/dat-desktop.git","svn_url":"https://github.com/juliangruber/dat-desktop","homepage":null,"size":5,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"juliangruber:master","ref":"master","sha":"e4664fc0e9c6358027ba1ee4fe97f965973b3141","user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"repo":{"id":59699743,"name":"dat-desktop","full_name":"juliangruber/dat-desktop","owner":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juliangruber/dat-desktop","description":"[Work In Progress] Dat Desktop App","fork":false,"url":"https://api.github.com/repos/juliangruber/dat-desktop","forks_url":"https://api.github.com/repos/juliangruber/dat-desktop/forks","keys_url":"https://api.github.com/repos/juliangruber/dat-desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliangruber/dat-desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliangruber/dat-desktop/teams","hooks_url":"https://api.github.com/repos/juliangruber/dat-desktop/hooks","issue_events_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues/events{/number}","events_url":"https://api.github.com/repos/juliangruber/dat-desktop/events","assignees_url":"https://api.github.com/repos/juliangruber/dat-desktop/assignees{/user}","branches_url":"https://api.github.com/repos/juliangruber/dat-desktop/branches{/branch}","tags_url":"https://api.github.com/repos/juliangruber/dat-desktop/tags","blobs_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliangruber/dat-desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/juliangruber/dat-desktop/languages","stargazers_url":"https://api.github.com/repos/juliangruber/dat-desktop/stargazers","contributors_url":"https://api.github.com/repos/juliangruber/dat-desktop/contributors","subscribers_url":"https://api.github.com/repos/juliangruber/dat-desktop/subscribers","subscription_url":"https://api.github.com/repos/juliangruber/dat-desktop/subscription","commits_url":"https://api.github.com/repos/juliangruber/dat-desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliangruber/dat-desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliangruber/dat-desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliangruber/dat-desktop/contents/{+path}","compare_url":"https://api.github.com/repos/juliangruber/dat-desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliangruber/dat-desktop/merges","archive_url":"https://api.github.com/repos/juliangruber/dat-desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliangruber/dat-desktop/downloads","issues_url":"https://api.github.com/repos/juliangruber/dat-desktop/issues{/number}","pulls_url":"https://api.github.com/repos/juliangruber/dat-desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/juliangruber/dat-desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/juliangruber/dat-desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliangruber/dat-desktop/labels{/name}","releases_url":"https://api.github.com/repos/juliangruber/dat-desktop/releases{/id}","deployments_url":"https://api.github.com/repos/juliangruber/dat-desktop/deployments","created_at":"2016-05-25T21:42:53Z","updated_at":"2016-05-26T02:55:11Z","pushed_at":"2016-05-26T17:16:10Z","git_url":"git://github.com/juliangruber/dat-desktop.git","ssh_url":"git@github.com:juliangruber/dat-desktop.git","clone_url":"https://github.com/juliangruber/dat-desktop.git","svn_url":"https://github.com/juliangruber/dat-desktop","homepage":null,"size":5,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4"},"html":{"href":"https://github.com/juliangruber/dat-desktop/pull/4"},"issue":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/issues/4"},"comments":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/juliangruber/dat-desktop/statuses/bed8efa3b051fef8c4a533cc6821a3656ec21d03"}}}}
{"actor":{"display_login":"mafintosh"}}