1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Implement --debugger option to improve UX when debugging crashes (#13157)

This commit is contained in:
sfan5 2023-01-23 00:19:30 +01:00 committed by GitHub
parent 6f5703baf1
commit 87d509e462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 193 additions and 17 deletions

View file

@ -60,6 +60,8 @@ bool IsPathAbsolute(const std::string &path);
bool IsDir(const std::string &path);
bool IsExecutable(const std::string &path);
inline bool IsFile(const std::string &path)
{
return PathExists(path) && !IsDir(path);