fix(download): we can check hash of fabric-api jar.

This commit is contained in:
huanghongxun
2021-12-20 01:43:41 +08:00
parent 9aa73f5a5c
commit 31568a5806
5 changed files with 29 additions and 27 deletions

View File

@@ -198,7 +198,7 @@ public class DownloadPage extends Control implements DecoratorPage {
}
Controllers.taskDialog(
new FileDownloadTask(NetworkUtils.toURL(file.getFile().getUrl()), dest).executor(true),
new FileDownloadTask(NetworkUtils.toURL(file.getFile().getUrl()), dest, file.getFile().getIntegrityCheck()).executor(true),
i18n("message.downloading")
);
}