mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-27 12:46:22 +01:00
Added back additional library path.
This commit is contained in:
parent
779294e780
commit
244f57f494
@ -39,7 +39,7 @@ public class Manifest extends BaseManifest {
|
||||
@JsonIgnore
|
||||
public URL getLibrariesUrl() {
|
||||
if (Strings.nullToEmpty(getLibrariesLocation()) == null) {
|
||||
return baseUrl;
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
|
@ -115,6 +115,11 @@ public class Updater extends BaseUpdater implements Callable<Instance>, Progress
|
||||
progress = new DefaultProgress(-1, _("instanceUpdater.readingVersion"));
|
||||
VersionManifest version = readVersionManifest(manifest);
|
||||
|
||||
URL url = manifest.getLibrariesUrl();
|
||||
if (url != null) {
|
||||
librarySources.add(url);
|
||||
}
|
||||
|
||||
progress = new DefaultProgress(-1, _("instanceUpdater.buildingDownloadList"));
|
||||
|
||||
// Install the .jar
|
||||
|
Loading…
Reference in New Issue
Block a user