We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe87d11 commit db41f32Copy full SHA for db41f32
src-tauri/src/lib.rs
@@ -34,6 +34,7 @@ static VERSION_NUMBER_REGEX: LazyLock<Regex> =
34
LazyLock::new(|| Regex::new(r"^v?\d+(?:\.\d)*$").unwrap());
35
const UPDATE_CHECK_URL: &str =
36
"https://api.github.com/repos/OpenFusionProject/OpenFusionLauncher/releases/latest";
37
+const DOWNLOAD_PAGE_URL: &str = "https://openfusion.dev/download/";
38
39
#[derive(Debug, Deserialize)]
40
struct UpdateCheckResponse {
@@ -1216,7 +1217,7 @@ async fn check_for_update() -> CommandResult<Option<UpdateInfo>> {
1216
1217
}
1218
Ok(Some(UpdateInfo {
1219
version: resp.tag_name,
- url: resp.html_url,
1220
+ url: String::from(DOWNLOAD_PAGE_URL),
1221
}))
1222
};
1223
internal.await.map_err(|e: Error| e.to_string())
0 commit comments