Feat: add an option for disabling large downloads

This commit is contained in:
harlekin
2024-03-26 14:08:46 +00:00
committed by Laurent Clouet
parent c615c9b36d
commit a86c126d39
6 changed files with 49 additions and 12 deletions

View File

@@ -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;
}
/**