aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-28 21:22:45 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-28 21:22:45 -0500
commit5d42085dd36f14aa3385547947ccd6e6c5f03d50 (patch)
treead09bcb7acf58caba0cc53411d5bab4df0d17899 /docker
parent2edfae46cc600079cb705e78f885df1fac269ce2 (diff)
Strip remaining Windows-only conditionals across src/src/
Removes every #ifdef _WIN32 / #ifndef _WIN32 / Q_OS_WIN block from the organizer source tree. The Linux build is the only target this fork produces, so the dead Windows branches were just noise. Stubs for Win32-shaped APIs that the upstream code references (FILETIME, HANDLE, DWORD, etc.) live in shared/windows_compat.h so the surrounding source keeps compiling without rewriting every signature. Also: - Reimplemented env::DirectoryWalker / env::forEachEntry / env::Module / env::Process / env::WindowsInfo as Linux-only (uname, /etc/os-release, /proc, std::filesystem) since the Win32 branches that previously held those implementations are gone. - Reduced spawn.cpp / processrunner.cpp / env.cpp to their Linux paths; dropped the helper:: namespace, Win-only waitForAllUSVFSProcesses- WithLock(), Steam Win-registry probe, and Windows mini-dump path. - Linux launcher uses BUILD_JOBS (default 4) so docker rebuilds during the audit don't pin the host. Build verified after every batch with ./build.sh tarball. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build-inner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/build-inner.sh b/docker/build-inner.sh
index 3934889..15b2efd 100755
--- a/docker/build-inner.sh
+++ b/docker/build-inner.sh
@@ -39,7 +39,7 @@ cmake -S . -B build -G Ninja \
-DFLUORINE_BUILD_COMMIT="${FLUORINE_BUILD_COMMIT}" \
"${CMAKE_EXTRA_ARGS[@]}"
-cmake --build build --parallel
+cmake --build build --parallel "${BUILD_JOBS:-}"
MODORG_BIN="build/src/src/ModOrganizer"
if [ ! -f "${MODORG_BIN}" ]; then