mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-18 22:53:16 +00:00
Update steam api
This commit is contained in:
parent
3516ada5ef
commit
21826ae4b3
5 changed files with 4 additions and 6 deletions
4
Justfile
4
Justfile
|
@ -3,11 +3,11 @@ extract_steam_redist:
|
|||
|
||||
add_dylib_debug: extract_steam_redist
|
||||
mkdir noita-proxy/target/debug/ -p
|
||||
cp target/tmp/libsteam_api.so noita-proxy/target/debug/
|
||||
cp redist/libsteam_api.so noita-proxy/target/debug/
|
||||
|
||||
add_dylib_release: extract_steam_redist
|
||||
mkdir noita-proxy/target/release/ -p
|
||||
cp target/tmp/libsteam_api.so noita-proxy/target/release/
|
||||
cp redist/libsteam_api.so noita-proxy/target/release/
|
||||
|
||||
build:
|
||||
cd noita-proxy && cargo build
|
||||
|
|
BIN
redist/libsteam_api.so
Normal file
BIN
redist/libsteam_api.so
Normal file
Binary file not shown.
BIN
redist/steam_api64.dll
Normal file
BIN
redist/steam_api64.dll
Normal file
Binary file not shown.
Binary file not shown.
|
@ -63,8 +63,6 @@ def get_pull_requests_from(date):
|
|||
|
||||
def extract_steam_redist():
|
||||
os.makedirs("target/tmp", exist_ok=True)
|
||||
with ZipFile("redist/steam_dylib.zip", "r") as steam_dylib_zip:
|
||||
steam_dylib_zip.extractall("target/tmp")
|
||||
|
||||
def make_release_assets():
|
||||
print("Compiling Noita Proxy...")
|
||||
|
@ -91,13 +89,13 @@ def make_release_assets():
|
|||
|
||||
with ZipFile("target/noita-proxy-win.zip", "w") as release:
|
||||
release.write("noita-proxy/target/x86_64-pc-windows-gnu/release-lto/noita-proxy.exe", arcname="noita_proxy.exe", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("target/tmp/steam_api64.dll", arcname="steam_api64.dll", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("redist/steam_api64.dll", arcname="steam_api64.dll", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
|
||||
print("Writing linux release...")
|
||||
|
||||
with ZipFile("target/noita-proxy-linux.zip", "w") as release:
|
||||
release.write("noita-proxy/target/x86_64-unknown-linux-gnu/release-lto/noita-proxy", arcname="noita_proxy.x86_64", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("target/tmp/libsteam_api.so", arcname="libsteam_api.so", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
release.write("redist/libsteam_api.so", arcname="libsteam_api.so", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
|
||||
|
||||
print("Writing mod release...")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue