mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
modify unix default mounting point prefix (use /run/media/veracrypt t… (#1524)
* modify unix default mounting point prefix (use /run/media/veracrypt to replace /mnt/veracrypt). * bugfix * add trailling semicolon * add ifdef TC_LINUX
This commit is contained in:
@@ -293,7 +293,10 @@ namespace VeraCrypt
|
||||
|
||||
if (FilesystemPath ("/media").IsDirectory())
|
||||
return "/media/veracrypt";
|
||||
|
||||
#ifdef TC_LINUX
|
||||
if (FilesystemPath ("/run/media").IsDirectory())
|
||||
return "/run/media/veracrypt";
|
||||
#endif
|
||||
if (FilesystemPath ("/mnt").IsDirectory())
|
||||
return "/mnt/veracrypt";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user