mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
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());
|
System.Console.WriteLine("Mod failed to build: " + mod.GetName());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
CompressDir(m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip", mod.GetName() + "\\*.*");
|
CompressDir(
|
||||||
|
m_Cfg.GetReleaseName() + "-" + mod.GetName() + ".zip",
|
||||||
|
PropSlashes(mod.GetName() + "\\addons")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Binary file not shown.
@ -20,7 +20,7 @@ namespace AMXXRelease
|
|||||||
|
|
||||||
info.FileName = m_Cfg.CompressPath();
|
info.FileName = m_Cfg.CompressPath();
|
||||||
info.WorkingDirectory = m_Cfg.OutputPath();
|
info.WorkingDirectory = m_Cfg.OutputPath();
|
||||||
info.Arguments = "-r " + target + " " + dir;
|
info.Arguments = "-r " + target + " " + dir + "\\*.*";
|
||||||
info.UseShellExecute = false;
|
info.UseShellExecute = false;
|
||||||
|
|
||||||
Process p = Process.Start(info);
|
Process p = Process.Start(info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user