mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Read all symlinks when get executable directory
This commit is contained in:
parent
98ea5f49a2
commit
e9fc503f4f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ var
|
|||
Ini : TIniFileEx;
|
||||
begin
|
||||
OnGetApplicationName := @GetAppName;
|
||||
gpExePath := ExtractFilePath(SysToUTF8(ParamStr(0)));
|
||||
gpExePath := ExtractFilePath(TryReadAllLinks(ParamStrUTF8(0)));
|
||||
DebugLn('Executable directory: ', gpExePath);
|
||||
|
||||
gpCfgDir := gpExePath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue