From 1e7dc7dff9b964f62f2b2f0231d9e14b162c18e2 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 12 Jan 2023 15:42:03 +0100 Subject: [PATCH] added extra logs for AppImage detection debug --- src/wallet/wallets_manager.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index 161a6e13..dfaacc17 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -331,11 +331,18 @@ bool wallets_manager::init(view::i_view* pview_handler) std::string path_to_html; if (!command_line::has_arg(m_vm, arg_html_folder)) { + LOG_PRINT_L0("Detecting APPDIR... "); #if defined(__unix__) || defined(__linux__) const char* env_p = std::getenv("APPDIR"); + LOG_PRINT_L0("APPDIR = " << (void*)env_p); + if (env_p) + { + LOG_PRINT_L0("APPDIR: " << env_p); + } if (env_p && std::strlen(env_p)) { //app running inside AppImage + LOG_PRINT_L0("APPDIR SET: " << env_p); path_to_html = std::string(env_p) + "usr/bin/html"; } else