diff --git a/installer/AMXXRelease/ABuilder.cs b/installer/AMXXRelease/ABuilder.cs index 00067c16..0ecc7773 100755 --- a/installer/AMXXRelease/ABuilder.cs +++ b/installer/AMXXRelease/ABuilder.cs @@ -32,7 +32,7 @@ public virtual bool Build(Config cfg, Build build) return false; } CompressDir( - PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip"), + PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName()), PropSlashes(m_Cfg.OutputPath() + "\\" + mod.GetName()) ); } diff --git a/installer/AMXXRelease/Build.cs b/installer/AMXXRelease/Build.cs index feda3133..6a422631 100755 --- a/installer/AMXXRelease/Build.cs +++ b/installer/AMXXRelease/Build.cs @@ -21,12 +21,12 @@ public Build() ModTFC tfc = new ModTFC(); ModTs ts = new ModTs(); - /*m_Mods.Add(core); + m_Mods.Add(core); m_Mods.Add(cstrike); m_Mods.Add(dod); m_Mods.Add(esf); m_Mods.Add(ns); - m_Mods.Add(tfc);*/ + m_Mods.Add(tfc); m_Mods.Add(ts); } diff --git a/installer/AMXXRelease/LinuxBuilder.cs b/installer/AMXXRelease/LinuxBuilder.cs index 63e0b6e6..d293cc1c 100755 --- a/installer/AMXXRelease/LinuxBuilder.cs +++ b/installer/AMXXRelease/LinuxBuilder.cs @@ -20,7 +20,18 @@ public override void CompressDir(string target, string dir) info.FileName = m_Cfg.CompressPath(); info.WorkingDirectory = dir; - info.Arguments = "zcvf " + target + " " + "*"; + + string [] files = Directory.GetFiles(dir); + string file_list = ""; + for (int i=0; i