Use CA bundle instead of single certificates, make auto update URL configurable
This commit is contained in:
parent
a614bd15db
commit
82dd70a38d
14 changed files with 126 additions and 92 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue