impr: Allow console output to work when debugging (#1382)

This commit is contained in:
Nik
2023-10-22 23:39:14 +02:00
committed by GitHub
parent 215e1ffdc8
commit 58189e5403
4 changed files with 28 additions and 5 deletions

View File

@@ -641,6 +641,14 @@ namespace hex {
#endif
}
bool isDebugBuild() {
#if defined DEBUG
return true;
#else
return false;
#endif
}
bool updateImHex(UpdateType updateType) {
// Get the path of the updater executable
std::fs::path executablePath;