From 4e6723a7e2ef29dd8d90efaab209c32e2978e8fe Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 2 Jul 2016 23:40:57 +0200 Subject: [PATCH] Partially revert 9cc7e30 Indeed LibZ seems to not being functional on Mono, so we keep using ILRepack for Mono, and LibZ for Windows Final binary is compiled on Windows anyway, and it seems to work properly on both Windows and Mono, so this is purely for making people using self-compiled binaries happy --- ArchiSteamFarm/ArchiSteamFarm.csproj | 4 ++-- ConfigGenerator/ConfigGenerator.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 84044f6b9..03132f3cf 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -177,8 +177,8 @@ cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config" cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config" cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config" - mono --llvm --server -O=all "$(SolutionDir)tools/LibZ/libz.exe" inject-dll -a "$(TargetDir)$(TargetName).exe" -i "$(TargetDir)*.dll" --move - cp "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out/ASF.exe" + mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" + rm "$(SolutionDir)out/ASF.exe.config"