mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Use zstd compression for appimage (#221)
This commit is contained in:
@@ -49,7 +49,7 @@ public class AppImageTool
|
||||
|
||||
logger.Info("Converting tar into squashfs filesystem");
|
||||
var tool = HelperFile.FindHelperFile("squashfs-tools\\tar2sqfs.exe");
|
||||
logger.Debug(Exe.RunHostedCommand($"\"{tool}\" \"{tmpSquashFile}\" < \"{tmpTarFile}\""));
|
||||
logger.Debug(Exe.RunHostedCommand($"\"{tool}\" -c zstd \"{tmpSquashFile}\" < \"{tmpTarFile}\""));
|
||||
} else {
|
||||
Exe.AssertSystemBinaryExists("mksquashfs", "sudo apt install squashfs-tools", "brew install squashfs");
|
||||
var tool = "mksquashfs";
|
||||
@@ -58,7 +58,7 @@ public class AppImageTool
|
||||
appDir,
|
||||
tmpSquashFile,
|
||||
"-comp",
|
||||
"xz",
|
||||
"zstd",
|
||||
"-root-owned",
|
||||
"-noappend",
|
||||
"-Xdict-size",
|
||||
|
||||
Reference in New Issue
Block a user