diff --git a/desktop/src-tauri/src/update.rs b/desktop/src-tauri/src/update.rs index bd7bd4c..4b6af8a 100644 --- a/desktop/src-tauri/src/update.rs +++ b/desktop/src-tauri/src/update.rs @@ -143,9 +143,9 @@ impl Source { fn feed_url(&self) -> Result { 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)), } }