Fixes for compression
This commit is contained in:
parent
c9051ad364
commit
92653ceebc
@ -31,7 +31,10 @@ namespace AMXXRelease
|
||||
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 @@ namespace AMXXRelease
|
||||
|
||||
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