Use CA bundle instead of single certificates, make auto update URL configurable

This commit is contained in:
Djuri 2024-11-25 23:54:02 +01:00
parent a614bd15db
commit 82dd70a38d
14 changed files with 126 additions and 92 deletions

View file

@ -284,6 +284,10 @@ void setupPreferences()
preferences.putBool("flDisable", isWhiteVersion() ? false : true);
}
if (!preferences.isKey("gitReleaseUrl")) {
preferences.putString("gitReleaseUrl", DEFAULT_GIT_RELEASE_URL);
}
if (!preferences.isKey("fgColor")) {
preferences.putUInt("fgColor", isWhiteVersion() ? GxEPD_BLACK : GxEPD_WHITE);
preferences.putUInt("bgColor", isWhiteVersion() ? GxEPD_WHITE : GxEPD_BLACK);