Feat: add an option for disabling large downloads
This commit is contained in:
@@ -79,6 +79,7 @@ import lombok.Data;
|
||||
private String UIType;
|
||||
private String hostname;
|
||||
private String theme;
|
||||
private boolean disableLargeDownloads;
|
||||
|
||||
public Configuration(File cache_dir_, String login_, String password_) {
|
||||
this.configFilePath = null;
|
||||
@@ -110,6 +111,7 @@ import lombok.Data;
|
||||
this.headless = java.awt.GraphicsEnvironment.isHeadless();
|
||||
this.UIType = null;
|
||||
this.theme = null;
|
||||
this.disableLargeDownloads = false;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -145,7 +147,8 @@ import lombok.Data;
|
||||
c + "headless: " + headless + n +
|
||||
c + "UIType: " + UIType + n +
|
||||
c + "hostname: " + hostname + n +
|
||||
c + "theme: " + theme;
|
||||
c + "theme: " + theme + n +
|
||||
c + "disableLargeDownloads: " + disableLargeDownloads;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user