mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
fix(tools): Fix packaging libs and zips on linux. (#6327)
Both OSX and Linux builds were not excluding two libs from their zip file due to a missing comma. You can see that they both exist within the live client manifests. Also fix the MS dlls having basically no date set on the file which is throwing an error when trying to zip them.
This commit is contained in:
@@ -98,7 +98,7 @@ IGNORED_FILES_MACOS = {
|
||||
"libsodium.dylib",
|
||||
"libopenal.1.dylib",
|
||||
"libSDL3.0.dylib",
|
||||
"libfluidsynth.3.dylib"
|
||||
"libfluidsynth.3.dylib",
|
||||
"libzstd.1.dylib"
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ IGNORED_FILES_LINUX = {
|
||||
"libsodium.so",
|
||||
"libopenal.so.1",
|
||||
"libSDL3.so.0",
|
||||
"libfluidsynth.so.3"
|
||||
"libfluidsynth.so.3",
|
||||
"libzstd.so.1"
|
||||
}
|
||||
|
||||
@@ -220,7 +220,7 @@ def build_linux_like(rid: str, target_os: TargetOS, skip_build: bool) -> None:
|
||||
|
||||
client_zip = zipfile.ZipFile(
|
||||
p("release", "Robust.Client_%s.zip" % rid), "w",
|
||||
compression=zipfile.ZIP_DEFLATED)
|
||||
compression=zipfile.ZIP_DEFLATED, strict_timestamps=False)
|
||||
|
||||
copy_dir_into_zip(p("bin", "Client", rid, "publish"), "", client_zip, IGNORED_FILES_LINUX)
|
||||
copy_resources("Resources", client_zip)
|
||||
|
||||
Reference in New Issue
Block a user