mirror of
https://github.com/cyanfish/naps2.git
synced 2024-08-17 19:20:29 +03:00
Tools: Fix linux arm path
This commit is contained in:
parent
904bb0797f
commit
81c9f3ccc6
@ -64,7 +64,8 @@ public static class DebPackager
|
||||
Cli.Run("ln", $"-s /usr/lib/naps2/naps2 {Path.Combine(binDir, "naps2")}");
|
||||
|
||||
// Fix permissions
|
||||
Cli.Run("chmod", $"a+x {Path.Combine(targetDir, "_linux/tesseract")}");
|
||||
var nativeLibsFolder = pkgInfo.Platform == Platform.LinuxArm ? "_linuxarm" : "_linux";
|
||||
Cli.Run("chmod", $"a+x {Path.Combine(targetDir, nativeLibsFolder, "tesseract")}");
|
||||
|
||||
Cli.Run("dpkg-deb", $"-Zxz --root-owner-group --build {workingDir} {debPath}");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user