get rid of shell script to launch game on steamos (#22)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
name = "hedz_reloaded"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
build = "build.rs"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
4
build.rs
Normal file
4
build.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
fn main() {
|
||||
#[cfg(target_os = "linux")]
|
||||
println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
export LD_LIBRARY_PATH="."
|
||||
./hedz_reloaded "$@"
|
||||
@@ -32,12 +32,6 @@
|
||||
"LocalPath" "../redist/libsteam_api.so"
|
||||
"DepotPath" "."
|
||||
}
|
||||
|
||||
"FileMapping"
|
||||
{
|
||||
"LocalPath" "../redist/launch.sh"
|
||||
"DepotPath" "."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user