AGPL-3.0-only, a source link in the app, and everything on dev since #5 #6
@@ -143,9 +143,9 @@ impl Source {
|
||||
fn feed_url(&self) -> Result<String, String> {
|
||||
match self {
|
||||
Source::Forge(channel) => Ok(channel.feed_url()),
|
||||
Source::Server(base) if cfg!(target_os = "linux") => {
|
||||
Ok(format!("{base}/api/client/{SERVER_FEED_PLATFORM}/update.json"))
|
||||
}
|
||||
Source::Server(base) if cfg!(target_os = "linux") => Ok(format!(
|
||||
"{base}/api/client/{SERVER_FEED_PLATFORM}/update.json"
|
||||
)),
|
||||
Source::Server(base) => Err(linux_only(base)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user