You've already forked AstralRinth
forked from didirus/AstralRinth
Fix build with updater feature (#5067)
This commit is contained in:
committed by
GitHub
parent
4a8f882063
commit
6221fe5e08
@@ -119,12 +119,12 @@ fn main() {
|
||||
#[cfg(feature = "updater")]
|
||||
{
|
||||
use tauri_plugin_http::reqwest::header::{HeaderValue, USER_AGENT};
|
||||
use theseus::LAUNCHER_USER_AGENT;
|
||||
use theseus::launcher_user_agent;
|
||||
builder = builder.plugin(
|
||||
tauri_plugin_updater::Builder::new()
|
||||
.header(
|
||||
USER_AGENT,
|
||||
HeaderValue::from_str(LAUNCHER_USER_AGENT).unwrap(),
|
||||
HeaderValue::from_str(&launcher_user_agent()).unwrap(),
|
||||
)
|
||||
.unwrap()
|
||||
.build(),
|
||||
|
||||
Reference in New Issue
Block a user