{"action":"created","issue":{"url":"https://api.github.com/repos/prenagha/launchbar/issues/2","labels_url":"https://api.github.com/repos/prenagha/launchbar/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/prenagha/launchbar/issues/2/comments","events_url":"https://api.github.com/repos/prenagha/launchbar/issues/2/events","html_url":"https://github.com/prenagha/launchbar/issues/2","id":106122335,"number":2,"title":"Action Updates: Automatic downloading problematic?","user":{"login":"hlissner","id":510883,"avatar_url":"https://avatars.githubusercontent.com/u/510883?v=3","gravatar_id":"","url":"https://api.github.com/users/hlissner","html_url":"https://github.com/hlissner","followers_url":"https://api.github.com/users/hlissner/followers","following_url":"https://api.github.com/users/hlissner/following{/other_user}","gists_url":"https://api.github.com/users/hlissner/gists{/gist_id}","starred_url":"https://api.github.com/users/hlissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlissner/subscriptions","organizations_url":"https://api.github.com/users/hlissner/orgs","repos_url":"https://api.github.com/users/hlissner/repos","events_url":"https://api.github.com/users/hlissner/events{/privacy}","received_events_url":"https://api.github.com/users/hlissner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-12T01:57:56Z","updated_at":"2015-09-12T19:25:35Z","closed_at":"2015-09-12T19:25:35Z","body":"Automatic downloading seems imposing, and possibly problematic for actions that have **a)** no direct-download link or **b)** are part of a larger repository of actions.\r\n\r\nWithout a download link, the action doesn't know what to do. And if I use the github \"download zip\" link, File.readData will get hit several times for the same file, and potentially File.writeData, depending on how it handles filename collisions.\r\n\r\nSuggestions:\r\n\r\n* Make it a two-step process. Press enter on an action with an update to initiate the download and select the file in launchbar. Perhaps add an \"Update All\" child-action to force it.\r\n* Add some simple regex/string matching to detect if LBDownload points to a file (ends in `\\.(zip|tar(\\.gz)?|lbaction)` or an url (in which case, open the browser maybe?)"},"comment":{"url":"https://api.github.com/repos/prenagha/launchbar/issues/comments/139811289","html_url":"https://github.com/prenagha/launchbar/issues/2#issuecomment-139811289","issue_url":"https://api.github.com/repos/prenagha/launchbar/issues/2","id":139811289,"user":{"login":"prenagha","id":194250,"avatar_url":"https://avatars.githubusercontent.com/u/194250?v=3","gravatar_id":"","url":"https://api.github.com/users/prenagha","html_url":"https://github.com/prenagha","followers_url":"https://api.github.com/users/prenagha/followers","following_url":"https://api.github.com/users/prenagha/following{/other_user}","gists_url":"https://api.github.com/users/prenagha/gists{/gist_id}","starred_url":"https://api.github.com/users/prenagha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prenagha/subscriptions","organizations_url":"https://api.github.com/users/prenagha/orgs","repos_url":"https://api.github.com/users/prenagha/repos","events_url":"https://api.github.com/users/prenagha/events{/privacy}","received_events_url":"https://api.github.com/users/prenagha/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T19:25:35Z","updated_at":"2015-09-12T19:25:35Z","body":"You can set `DownloadDir` in prefs to `SKIP` to turn off auto downloading entirely. I have released v1.3 d3ef885c25fde90e91ff88c3a921f4714b2577fe which gives you an LB item to enable/disable right from within the action. Also sets up default preference file so you can see the options and an edit preferences item from within the action to take you there"}}