forked from Hartmut/paradiso
Compare commits
No commits in common. "7ecf57c7c06e4c803109cf814399b50010434437" and "47bfead825aeda147a65dd01cc8b3b95b630c4c2" have entirely different histories.
7ecf57c7c0
...
47bfead825
27 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -37,7 +37,7 @@ path get_executable_path() {
|
|||
#if defined(_WIN32)
|
||||
std::array<TCHAR, MAX_PATH> lpFname{};
|
||||
DWORD ret = GetModuleFileName(NULL, lpFname.data(), lpFname.size());
|
||||
return {std::string{std::begin(lpFname), std::end(lpFname)}};
|
||||
return {std::string{std::from_range, lpFname}};
|
||||
#elif defined(__linux)
|
||||
return std::filesystem::canonical(u8"/proc/self/exe");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue