mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 16:31:29 +00:00
Fix 7zip availability check [skip ci]
This commit is contained in:
parent
c39978d3d8
commit
08414bda55
@ -95,7 +95,7 @@ bool DatabaseDumpService::IsTarAvailable()
|
|||||||
*/
|
*/
|
||||||
bool DatabaseDumpService::Is7ZipAvailable()
|
bool DatabaseDumpService::Is7ZipAvailable()
|
||||||
{
|
{
|
||||||
std::string version_output = execute("winrar --version");
|
std::string version_output = execute("7z -help");
|
||||||
|
|
||||||
return version_output.find("7-Zip") != std::string::npos;
|
return version_output.find("7-Zip") != std::string::npos;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user