mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Rewrite 7z uncompressing to work on all supported platforms
On Windows we ship 7za.exe in our binaries. On MacOS we do the same, but the executable needs to be called with the full path. On Linux we don't ship anything but assume it to be available from the distribution.
This commit is contained in:
committed by
Klaus Basan
parent
2843e20d54
commit
659b78832e
@@ -159,7 +159,7 @@ namespace BlackGui
|
||||
|
||||
// if possible we will unzip
|
||||
QStringList stdOutAndError;
|
||||
if (CCompressUtils::zip7Uncompress(destFile.absoluteFilePath(), xSwiftBusDirectory, true, &stdOutAndError))
|
||||
if (CCompressUtils::zip7Uncompress(destFile.absoluteFilePath(), xSwiftBusDirectory, &stdOutAndError))
|
||||
{
|
||||
// capture values by copy!
|
||||
const CStatusMessage msg = CStatusMessage(this, CLogCategory::validation()).info("Uncompressed xSwiftBus in '%1'") << xSwiftBusDirectory;
|
||||
|
||||
Reference in New Issue
Block a user