[editor only] Fix Skin Composer download plugin, close #90
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-2
@@ -93,9 +93,8 @@ public class SkinComposerMediator extends Mediator<DownloadingDialog> {
|
||||
break;
|
||||
case SkinComposerPlugin.DOWNLOAD_JAR:
|
||||
ExecutorService downloader = Executors.newSingleThreadExecutor();
|
||||
GithubReleaseData jsonData = notification.getBody();
|
||||
downloader.execute(() -> {
|
||||
GithubReleaseData jsonData = notification.getBody();
|
||||
|
||||
viewComponent.setMessage("Downloading " + jsonData.name + " ...");
|
||||
for (GithubReleaseData.GithubReleaseAssetData assetData : jsonData.assets) {
|
||||
if (assetData.name.equals("SkinComposer.jar")) {
|
||||
|
||||
Reference in New Issue
Block a user