mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
ChangeLog at: https://github.com/doublecmd/doublecmd/releases/tag/v1.1.22 Approved by: fluffy
28 lines
1 KiB
ObjectPascal
28 lines
1 KiB
ObjectPascal
--- src/uGlobsPaths.pas.orig 2025-01-24 23:48:47 UTC
|
|
+++ src/uGlobsPaths.pas
|
|
@@ -3,7 +3,7 @@ var
|
|
interface
|
|
|
|
var
|
|
- gpExePath : String = ''; // executable directory
|
|
+ gpExePath : String = '%%DATADIR%%/'; // executable directory
|
|
gpCfgDir : String = ''; // directory from which configuration files are used
|
|
gpGlobalCfgDir : String = ''; // config dir global for all user
|
|
gpCmdLineCfgDir : String = ''; // config dir passed on the command line
|
|
@@ -12,6 +12,7 @@ var
|
|
gpHighPath : String = ''; // editor highlighter directory
|
|
gpCacheDir : String = ''; // cache directory
|
|
gpThumbCacheDir : String = ''; // thumbnails cache directory
|
|
+ gpDocsDir : String = '%%DOCSDIR%%/'; // directory for help files
|
|
|
|
//Global Configuration Filename
|
|
const
|
|
@@ -87,7 +88,7 @@ begin
|
|
begin
|
|
gpExeFile := ParamStr(0);
|
|
gpExeFile := TryReadAllLinks(gpExeFile);
|
|
- gpExePath := ExtractFilePath(gpExeFile);
|
|
+ //gpExePath := ExtractFilePath(gpExeFile);
|
|
gpGlobalCfgDir := gpExePath + 'settings' + DirectorySeparator;
|
|
end;
|
|
|