mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-05 16:46:35 -05: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:
1 parent
e946de7241
commit
43ea5108e5
1 file changed
+4
-1
@@ -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