diff --git a/installer/AMXXRelease/ABuilder.cs b/installer/AMXXRelease/ABuilder.cs index 2a9eaf02..00067c16 100755 --- a/installer/AMXXRelease/ABuilder.cs +++ b/installer/AMXXRelease/ABuilder.cs @@ -32,8 +32,8 @@ public virtual bool Build(Config cfg, Build build) return false; } CompressDir( - m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip", - PropSlashes(mod.GetName() + "\\addons") + PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip"), + PropSlashes(m_Cfg.OutputPath() + "\\" + mod.GetName()) ); } diff --git a/installer/AMXXRelease/AMXXRelease.exe b/installer/AMXXRelease/AMXXRelease.exe index 986a6c16..7d41f5b0 100755 Binary files a/installer/AMXXRelease/AMXXRelease.exe and b/installer/AMXXRelease/AMXXRelease.exe differ diff --git a/installer/AMXXRelease/Build.cs b/installer/AMXXRelease/Build.cs index 6a422631..feda3133 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 c1f41a22..63e0b6e6 100755 --- a/installer/AMXXRelease/LinuxBuilder.cs +++ b/installer/AMXXRelease/LinuxBuilder.cs @@ -19,8 +19,8 @@ public override void CompressDir(string target, string dir) ProcessStartInfo info = new ProcessStartInfo(); info.FileName = m_Cfg.CompressPath(); - info.WorkingDirectory = m_Cfg.OutputPath(); - info.Arguments = "zcvf " + target + " " + dir; + info.WorkingDirectory = dir; + info.Arguments = "zcvf " + target + " " + "*"; info.UseShellExecute = false; Process p = Process.Start(info); diff --git a/installer/AMXXRelease/Win32Builder.cs b/installer/AMXXRelease/Win32Builder.cs index 8326f3b9..463e25c9 100755 --- a/installer/AMXXRelease/Win32Builder.cs +++ b/installer/AMXXRelease/Win32Builder.cs @@ -19,8 +19,8 @@ public override void CompressDir(string target, string dir) ProcessStartInfo info = new ProcessStartInfo(); info.FileName = m_Cfg.CompressPath(); - info.WorkingDirectory = m_Cfg.OutputPath(); - info.Arguments = "-r " + target + " " + dir + "\\*.*"; + info.WorkingDirectory = dir; + info.Arguments = "-r " + target + " " + "*.*"; info.UseShellExecute = false; Process p = Process.Start(info);