mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Build script for linux to locate steam dylib.
This commit is contained in:
parent
f5d78f2a5c
commit
4b07980ce0
2 changed files with 5 additions and 2 deletions
4
noita-proxy/build.rs
Normal file
4
noita-proxy/build.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
fn main() {
|
||||
#[cfg(target_os = "linux")]
|
||||
println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
|
||||
}
|
|
@ -3,7 +3,6 @@ use std::{fmt::Display, net::SocketAddr, sync::Arc, thread, time::Duration};
|
|||
use bitcode::{Decode, Encode};
|
||||
use clipboard::{ClipboardContext, ClipboardProvider};
|
||||
use eframe::egui::{self, Color32};
|
||||
use serde::de::Error;
|
||||
use steamworks::{LobbyId, SteamAPIInitError};
|
||||
use tangled::Peer;
|
||||
use tracing::info;
|
||||
|
@ -30,7 +29,7 @@ struct SteamState {
|
|||
|
||||
impl SteamState {
|
||||
fn new() -> Result<Self, SteamAPIInitError> {
|
||||
let (client, single) = steamworks::Client::init_app(480)?;
|
||||
let (client, single) = steamworks::Client::init_app(881100)?;
|
||||
thread::spawn(move || {
|
||||
info!("Spawned steam callback thread");
|
||||
loop {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue