mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Add Android application download links
This commit is contained in:
@ -31,6 +31,8 @@ pub struct Config {
|
||||
pub storage_url: String,
|
||||
pub storage_path: String,
|
||||
pub terms_url: String,
|
||||
pub play_store_url: String,
|
||||
pub android_direct_download_url: String,
|
||||
pub proxy: Option<String>,
|
||||
pub force_https: bool,
|
||||
pub verbose_mode: bool,
|
||||
@ -104,6 +106,9 @@ impl Config {
|
||||
|
||||
terms_url: Config::yaml_str(parsed, "terms-url"),
|
||||
|
||||
play_store_url: Config::yaml_str(parsed, "play-store-url"),
|
||||
android_direct_download_url: Config::yaml_str(parsed, "android-direct-download-url"),
|
||||
|
||||
proxy: match proxy.as_ref() {
|
||||
"none" => None,
|
||||
s => Some(s.to_string())
|
||||
|
Reference in New Issue
Block a user