Merge pull request #16 from dbidwell94/cicd

Add 1 more dll to the build artifacts
This commit is contained in:
2025-12-05 03:36:00 -07:00
committed by GitHub

View File

@@ -37,6 +37,7 @@ echo "Copying Release files to output directory"
echo "--------------------" echo "--------------------"
RUST_WIN_EXE="$RUST_DIR/target/x86_64-pc-windows-gnu/release/slang.exe" RUST_WIN_EXE="$RUST_DIR/target/x86_64-pc-windows-gnu/release/slang.exe"
RUST_WIN_DLL="$RUST_DIR/target/x86_64-pc-windows-gnu/release/slang.dll"
RUST_LINUX_BIN="$RUST_DIR/target/x86_64-unknown-linux-gnu/release/slang" RUST_LINUX_BIN="$RUST_DIR/target/x86_64-unknown-linux-gnu/release/slang"
CHARP_DLL="$CSHARP_DIR/bin/Release/net48/StationeersSlang.dll" CHARP_DLL="$CSHARP_DIR/bin/Release/net48/StationeersSlang.dll"
@@ -45,6 +46,11 @@ if [[ ! -d "$RELEASE_DIR" ]]; then
mkdir "$RELEASE_DIR" mkdir "$RELEASE_DIR"
fi fi
# This is the windows binary
cp "$RUST_WIN_EXE" "$RELEASE_DIR/slang.exe" cp "$RUST_WIN_EXE" "$RELEASE_DIR/slang.exe"
# This is the linux executable
cp "$RUST_LINUX_BIN" "$RELEASE_DIR/slang" cp "$RUST_LINUX_BIN" "$RELEASE_DIR/slang"
# This is the DLL mod itself
cp "$CHARP_DLL" "$RELEASE_DIR/StationeersSlang.dll" cp "$CHARP_DLL" "$RELEASE_DIR/StationeersSlang.dll"
# This is the rust-only compiler for use in injecting into the mod
cp "$RUST_WIN_DLL" "$RELEASE_DIR/rust_slang.dll"