{"action":"opened","issue":{"url":"https://api.github.com/repos/abc9070410/JComicDownloader/issues/20","labels_url":"https://api.github.com/repos/abc9070410/JComicDownloader/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/abc9070410/JComicDownloader/issues/20/comments","events_url":"https://api.github.com/repos/abc9070410/JComicDownloader/issues/20/events","html_url":"https://github.com/abc9070410/JComicDownloader/issues/20","id":96839299,"number":20,"title":"關於相依的jar","user":{"login":"abc9070410","id":2183861,"avatar_url":"https://avatars.githubusercontent.com/u/2183861?v=3","gravatar_id":"","url":"https://api.github.com/users/abc9070410","html_url":"https://github.com/abc9070410","followers_url":"https://api.github.com/users/abc9070410/followers","following_url":"https://api.github.com/users/abc9070410/following{/other_user}","gists_url":"https://api.github.com/users/abc9070410/gists{/gist_id}","starred_url":"https://api.github.com/users/abc9070410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abc9070410/subscriptions","organizations_url":"https://api.github.com/users/abc9070410/orgs","repos_url":"https://api.github.com/users/abc9070410/repos","events_url":"https://api.github.com/users/abc9070410/events{/privacy}","received_events_url":"https://api.github.com/users/abc9070410/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T15:24:41Z","updated_at":"2015-07-23T15:24:41Z","closed_at":null,"body":"抱歉我之前沒注意到部分模組需相依的jar，以至於build出來的版本沒辦法解析無限動漫，後來@hkgsherlock有release新版本來解決。\r\n\r\n不過我是想討論一下關於相依jar的處理方式，因為全部包起來感覺有點大(11MB)，而我之前遇到相依jar通常採用下面的流程:\r\n1. 檢查同資料夾內有無指定jar檔，如果有就跳到程序5. ，沒有就下載jar檔。\r\n2. 下載完jar檔，跳出提示視窗，告知程式需關閉再手動重啟。\r\n3. 強制關閉程式。\r\n4. 使用者重新開啟程式，這時候存在於資料夾內的jar檔就import進來了。\r\n5. 去做原本要做的事。\r\n\r\n這樣好處是程式維持最小體積，但程序相對繁瑣，你們覺得一開始就包起來好，還是這樣比較好?\r\n\r\n我目前是傾向雙軌制啦，就是release的版本要包或不包相依jar可以自行決定(其實我自己都不知道怎麼包起來，哈)，而如果不包相依jar再一起，則須加一段檢查&下載jar的code在裡面。\r\n"}}