diff --git a/CHANGELOG.md b/CHANGELOG.md index fff3c11..b9f6c6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to the Engine Control Test Rig Simulator are documented here. This project follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) conventions. +## [1.4.3] - 2026-03-14 + +### Fixed +- Linux release artifacts no longer bundle glibc and other distro system libraries that break the visualizer on non-Ubuntu hosts. + ## [1.4.2] - 2026-03-14 ### Fixed diff --git a/include/version.h b/include/version.h index e858771..700a7be 100644 --- a/include/version.h +++ b/include/version.h @@ -7,10 +7,10 @@ #define SIM_VERSION_MAJOR 1 #define SIM_VERSION_MINOR 4 -#define SIM_VERSION_PATCH 2 +#define SIM_VERSION_PATCH 3 #define SIM_SCHEMA_VERSION "1.0.0" -#define SIM_SOFTWARE_VERSION "1.4.2" +#define SIM_SOFTWARE_VERSION "1.4.3" #define SIM_BUILD_COMMIT SIM_BUILD_COMMIT_OVERRIDE #endif diff --git a/tools/collect_linux_runtime_deps.py b/tools/collect_linux_runtime_deps.py index 6624ba6..c081252 100644 --- a/tools/collect_linux_runtime_deps.py +++ b/tools/collect_linux_runtime_deps.py @@ -17,6 +17,17 @@ "ld-musl", ) +BUNDLE_NAME_PREFIXES = ( + "libraylib.so", +) + +SYSTEM_LIBRARY_DIRS = ( + "/lib", + "/lib64", + "/usr/lib", + "/usr/lib64", +) + def parse_args() -> argparse.Namespace: parser = argparse.ArgumentParser( @@ -28,12 +39,17 @@ def parse_args() -> argparse.Namespace: def should_skip(name: str, resolved_path: str) -> bool: + resolved_name = Path(resolved_path).name + if any(resolved_name.startswith(prefix) for prefix in BUNDLE_NAME_PREFIXES): + return False if any(name.startswith(prefix) for prefix in SKIP_PREFIXES): return True if any(part in name for part in SKIP_NAMES): return True if any(part in resolved_path for part in SKIP_NAMES): return True + if any(resolved_path.startswith(prefix + "/") for prefix in SYSTEM_LIBRARY_DIRS): + return True return False