diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-30 18:05:38 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-30 20:30:51 +0000 |
| commit | 4eb1edd5538af23101a0dc765abc394a06fbd3c0 (patch) | |
| tree | aff66da014659ea40851c9f479a30b4dcc93f1c2 /src/path-prefix.h | |
| parent | Restore "Add inkscape root directory to DLL search path" (diff) | |
| download | inkscape-4eb1edd5538af23101a0dc765abc394a06fbd3c0.tar.gz inkscape-4eb1edd5538af23101a0dc765abc394a06fbd3c0.zip | |
Add inscape to search path
This primarily allows extensions to simply call "inkscape"
without requiring the user to modify environment variables or
worrying about different versions of inkscape on the same machine
(as we prefix the search path).
We did this already for Windows but the code was removed in
db05b842cba28f01b431eee890537959aa2d8fe3
Partially fixes https://gitlab.com/inkscape/inkscape/issues/115
Diffstat (limited to 'src/path-prefix.h')
| -rw-r--r-- | src/path-prefix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h index 37cb83ef4..e76eb5dc4 100644 --- a/src/path-prefix.h +++ b/src/path-prefix.h @@ -32,6 +32,9 @@ char *append_inkscape_datadir(const char *relative_path); char *get_datadir_path(); char *get_extensions_path(); +char *get_program_name(); +char *get_program_dir(); + #ifdef _WIN32 #undef INKSCAPE_DATADIR #define INKSCAPE_DATADIR append_inkscape_datadir(NULL) |
