From 2adce1795211fd0a42c3b4e03ab35a90bb01bccf Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 26 Nov 2023 14:05:29 -0500 Subject: Stop relying on correctly set working directory --- src/global.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/global.h (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h new file mode 100644 index 0000000..2eb7884 --- /dev/null +++ b/src/global.h @@ -0,0 +1,11 @@ +#ifndef GLOBAL_H_44945DBA +#define GLOBAL_H_44945DBA + +#include +#include + +const std::filesystem::path& GetExecutableDirectory(); + +std::string GetAbsolutePath(std::string_view path); + +#endif /* end of include guard: GLOBAL_H_44945DBA */ -- cgit 1.4.1