mirror of https://gitlab.com/basile.b/dexed.git
move data files to new folder
This commit is contained in:
parent
3c1e1a2a66
commit
0634d4f0a1
|
@ -777,8 +777,15 @@ begin
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function getDocPath: string;
|
function getDocPath: string;
|
||||||
|
var
|
||||||
|
o: string;
|
||||||
|
n: string;
|
||||||
begin
|
begin
|
||||||
result := getUserDataPath + 'dexed' + directorySeparator;
|
o := getUserDataPath + 'Coedit' + directorySeparator;
|
||||||
|
n := getUserDataPath + 'dexed' + directorySeparator;
|
||||||
|
if not n.dirExists and o.dirExists then
|
||||||
|
CopyDirTree(o, n);
|
||||||
|
result := n;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function isFolder(sr: TSearchRec): boolean;
|
function isFolder(sr: TSearchRec): boolean;
|
||||||
|
|
Loading…
Reference in New Issue