mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Set encrypted flag
This commit is contained in:
parent
6b39b7bdd5
commit
fcda7291c2
1 changed files with 4 additions and 0 deletions
|
|
@ -192,6 +192,10 @@ begin
|
|||
HeaderData.FileTime := NativeLastModFileTime;
|
||||
HeaderData.FileAttr := NativeFileAttributes;
|
||||
|
||||
if IsEncrypted then begin
|
||||
HeaderData.Flags := RHDF_ENCRYPTED;
|
||||
end;
|
||||
|
||||
if IsDirectory then begin
|
||||
HeaderData.FileAttr := HeaderData.FileAttr or faFolder;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue