diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 96fd40e..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[target.'cfg(unix)'] -rustflags = ["-C", "link-arg=-Wl,-rpath,$ORIGIN"] \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..a0e94d0 --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +# /bin/sh +cargo build --release +cargo build --bin exalta-steam --release --features steam \ No newline at end of file diff --git a/src/cli.rs b/src/cli.rs index 62249b6..5398798 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -30,7 +30,7 @@ async fn main() -> Result<(), Box> { token_timestamp: base64::encode(account.access_token_timestamp), token_expiration: base64::encode(account.access_token_expiration), env: 4, - server_name: None, + server_name: String::new(), })? .replace(",\"serverName\":null", ",\"serverName\":"); println!("{}", args);