mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-07-06 15:59:47 +03:00
[FIX] Bug fixes
This commit is contained in:
parent
c46503fa95
commit
b1929f7927
3 changed files with 5 additions and 3 deletions
|
@ -113,7 +113,9 @@ public CompletedProfile pushUpdate(UncompletedProfile profile, String tag, Clien
|
|||
if(!Files.exists(assetDirPath)) {
|
||||
Files.createDirectories(assetDirPath);
|
||||
}
|
||||
updatesDirMap.put("assets", new HashedDir(assetDirPath, null, true, true));
|
||||
var assetsHDir = new HashedDir(assetDirPath, null, true, true);
|
||||
updatesDirMap.put("assets", assetsHDir);
|
||||
localProfile.assetDir = assetsHDir;
|
||||
}
|
||||
}
|
||||
if(assetActions != null && !assetActions.isEmpty()) {
|
||||
|
|
|
@ -44,7 +44,7 @@ protected boolean showApplyDialog(String text) throws IOException {
|
|||
return response.equals("y");
|
||||
}
|
||||
|
||||
protected static Downloader downloadWithProgressBar(String taskName, List<Downloader.SizedFile> list, String baseUrl, Path targetDir) throws Exception {
|
||||
public static Downloader downloadWithProgressBar(String taskName, List<Downloader.SizedFile> list, String baseUrl, Path targetDir) throws Exception {
|
||||
long total = 0;
|
||||
for (Downloader.SizedFile file : list) {
|
||||
if(file.size < 0) {
|
||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
|||
Subproject commit 3ce7d4feb1b95152917c9ed85a5186c145a9376c
|
||||
Subproject commit e6b8af9b107ea8c7dab4fc5968cfd0cff05b7d61
|
Loading…
Reference in a new issue