From 6f777366e4d8cd6e714249208931e0ad0017e331 Mon Sep 17 00:00:00 2001 From: Furior Date: Fri, 29 Sep 2023 16:19:02 +0700 Subject: [PATCH] cringe --- tools/tgs_scripts/PreCompile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/tgs_scripts/PreCompile.sh b/tools/tgs_scripts/PreCompile.sh index 7753666c05e9..099cf244c062 100644 --- a/tools/tgs_scripts/PreCompile.sh +++ b/tools/tgs_scripts/PreCompile.sh @@ -29,7 +29,8 @@ fi echo "Deploying rust-g..." RUSTFLAGS="-C target-cpu=native" env PKG_CONFIG_ALLOW_CROSS=1 ~/.cargo/bin/cargo build --release --features all --target=i686-unknown-linux-gnu -mv -f target/i686-unknown-linux-gnu/release/librust_g.so "$original_dir/../GameStaticFiles/librust_g_ss220.so" +rm -f "$original_dir/../GameStaticFiles/librust_g_ss220.so" +mv target/i686-unknown-linux-gnu/release/librust_g.so "$original_dir/../GameStaticFiles/librust_g_ss220.so" cd .. # SS220 TODO: tg like compile tgui