From 807e6a0f9ab63b8aac0703c343cb922e49fd4527 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 3 Aug 2007 17:17:54 +0000 Subject: [PATCH] compression is now optional --- installer/AMXXRelease/ABuilder.cs | 11 +++++++---- installer/AMXXRelease/AMXXRelease.exe | Bin 32768 -> 28672 bytes installer/AMXXRelease/Build.cs | 23 ++++++++++------------- installer/AMXXRelease/Main.cs | 6 ------ 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/installer/AMXXRelease/ABuilder.cs b/installer/AMXXRelease/ABuilder.cs index fe1ab1ec..ee4e9023 100755 --- a/installer/AMXXRelease/ABuilder.cs +++ b/installer/AMXXRelease/ABuilder.cs @@ -35,10 +35,13 @@ public virtual bool Build(Config cfg, Build build) { System.Console.WriteLine("Mod failed to build: " + mod.GetName()); } - CompressDir( - PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName()), - PropSlashes(m_Cfg.OutputPath() + "\\" + mod.GetName()) - ); + if (m_Cfg.CompressPath() != null) + { + CompressDir( + PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName()), + PropSlashes(m_Cfg.OutputPath() + "\\" + mod.GetName()) + ); + } } return true; diff --git a/installer/AMXXRelease/AMXXRelease.exe b/installer/AMXXRelease/AMXXRelease.exe index f12bb26361543f8a9620b7a22a9b675ce6e5f7ef..6ce6f3f8121625f4a3828f945a3110007e4457fd 100755 GIT binary patch delta 3909 zcma)94Qx}_6+ZXb?>TlH6UQXZ48+zYd5;0s1o}r&~9k$x>P{-R~isZW6~fy_rCY+ z_o_|WLw3IJJLjHr?zumHOiV}r@ZK|FN zVC57a{V%*Qb3W=SMDJ}}?gNO~XZ#-P1b~xWCk^b&WQ}9A6-_?;w6SMMz}|-lLqVMV zn3S>CNpWh4xLv+DPl?Y){7CqjY5{nz9DpEh0#GnqjKy<9yzC99THH<>x^xz}-Sr5WT%5KF-6}L>k zhoKT7G}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