get rid of shell script to launch game on steamos (#22)

This commit is contained in:
extrawurst
2025-04-03 19:38:29 +02:00
committed by GitHub
parent e435738a21
commit 5607c60223
4 changed files with 5 additions and 10 deletions

View File

@@ -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
View File

@@ -0,0 +1,4 @@
fn main() {
#[cfg(target_os = "linux")]
println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
}

View File

@@ -1,4 +0,0 @@
#!/bin/sh
export LD_LIBRARY_PATH="."
./hedz_reloaded "$@"

View File

@@ -32,12 +32,6 @@
"LocalPath" "../redist/libsteam_api.so"
"DepotPath" "."
}
"FileMapping"
{
"LocalPath" "../redist/launch.sh"
"DepotPath" "."
}
}
}
}