Linux: implement automatic creation of AppImage bundle during build of generic binaries
Recent Commits to VeraCrypt:master
-
Linux: implement automatic creation of AppImage bundle during build o…
-
typo Readme.txt (#1538)
typo Readme.txt (#1538)
-
Linux: Correct handling of documentation in case of AppImage. Code re…
Linux: Correct handling of documentation in case of AppImage. Code refactoring.
-
Linux: Fix link error with gcc 4.8 by build AESNI version of SM4 from…
Linux: Fix link error with gcc 4.8 by build AESNI version of SM4 from gcc 4.4 AESNI support was enabled starting from gcc 4.4 and so AESNI code of SM4 should be built starting from this version.
-
Linux: Fix AppImage compatibility by using AppImage file for sudo ele…
Linux: Fix AppImage compatibility by using AppImage file for sudo elevation When VeraCrypt is run as an AppImage, the veracrypt binary resides in a SquashFS mount under /tmp which is inaccessible to root. Using this path with sudo results in a "command not found" error. This patch detects the AppImage environment by checking both APPIMAGE and APPDIR variables, ensuring the executable path starts with APPDIR and that APPDIR starts with the expected "/tmp/.mount_Veracr" prefix. In this scenario, the AppImage file itself (APPIMAGE) is used as the executable for sudo, resolving the elevation issue.