mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Actual fix for compression!
This commit is contained in:
parent
92653ceebc
commit
0176d3a2ae
@ -32,8 +32,8 @@ public virtual bool Build(Config cfg, Build build)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
CompressDir(
|
CompressDir(
|
||||||
m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip",
|
PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip"),
|
||||||
PropSlashes(mod.GetName() + "\\addons")
|
PropSlashes(m_Cfg.OutputPath() + "\\" + mod.GetName())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
@ -21,12 +21,12 @@ public Build()
|
|||||||
ModTFC tfc = new ModTFC();
|
ModTFC tfc = new ModTFC();
|
||||||
ModTs ts = new ModTs();
|
ModTs ts = new ModTs();
|
||||||
|
|
||||||
m_Mods.Add(core);
|
/*m_Mods.Add(core);
|
||||||
m_Mods.Add(cstrike);
|
m_Mods.Add(cstrike);
|
||||||
m_Mods.Add(dod);
|
m_Mods.Add(dod);
|
||||||
m_Mods.Add(esf);
|
m_Mods.Add(esf);
|
||||||
m_Mods.Add(ns);
|
m_Mods.Add(ns);
|
||||||
m_Mods.Add(tfc);
|
m_Mods.Add(tfc);*/
|
||||||
m_Mods.Add(ts);
|
m_Mods.Add(ts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ public override void CompressDir(string target, string dir)
|
|||||||
ProcessStartInfo info = new ProcessStartInfo();
|
ProcessStartInfo info = new ProcessStartInfo();
|
||||||
|
|
||||||
info.FileName = m_Cfg.CompressPath();
|
info.FileName = m_Cfg.CompressPath();
|
||||||
info.WorkingDirectory = m_Cfg.OutputPath();
|
info.WorkingDirectory = dir;
|
||||||
info.Arguments = "zcvf " + target + " " + dir;
|
info.Arguments = "zcvf " + target + " " + "*";
|
||||||
info.UseShellExecute = false;
|
info.UseShellExecute = false;
|
||||||
|
|
||||||
Process p = Process.Start(info);
|
Process p = Process.Start(info);
|
||||||
|
@ -19,8 +19,8 @@ public override void CompressDir(string target, string dir)
|
|||||||
ProcessStartInfo info = new ProcessStartInfo();
|
ProcessStartInfo info = new ProcessStartInfo();
|
||||||
|
|
||||||
info.FileName = m_Cfg.CompressPath();
|
info.FileName = m_Cfg.CompressPath();
|
||||||
info.WorkingDirectory = m_Cfg.OutputPath();
|
info.WorkingDirectory = dir;
|
||||||
info.Arguments = "-r " + target + " " + dir + "\\*.*";
|
info.Arguments = "-r " + target + " " + "*.*";
|
||||||
info.UseShellExecute = false;
|
info.UseShellExecute = false;
|
||||||
|
|
||||||
Process p = Process.Start(info);
|
Process p = Process.Start(info);
|
||||||
|
Loading…
Reference in New Issue
Block a user