Fixes for compression
This commit is contained in:
parent
c9051ad364
commit
92653ceebc
|
@ -31,7 +31,10 @@ public virtual bool Build(Config cfg, Build build)
|
|||
System.Console.WriteLine("Mod failed to build: " + mod.GetName());
|
||||
return false;
|
||||
}
|
||||
CompressDir(m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip", mod.GetName() + "\\*.*");
|
||||
CompressDir(
|
||||
m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip",
|
||||
PropSlashes(mod.GetName() + "\\addons")
|
||||
);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Binary file not shown.
|
@ -20,7 +20,7 @@ public override void CompressDir(string target, string dir)
|
|||
|
||||
info.FileName = m_Cfg.CompressPath();
|
||||
info.WorkingDirectory = m_Cfg.OutputPath();
|
||||
info.Arguments = "-r " + target + " " + dir;
|
||||
info.Arguments = "-r " + target + " " + dir + "\\*.*";
|
||||
info.UseShellExecute = false;
|
||||
|
||||
Process p = Process.Start(info);
|
||||
|
|
Loading…
Reference in New Issue
Block a user