diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index dfaacc17..05a5ac42 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -343,7 +343,7 @@ bool wallets_manager::init(view::i_view* pview_handler) { //app running inside AppImage LOG_PRINT_L0("APPDIR SET: " << env_p); - path_to_html = std::string(env_p) + "usr/bin/html"; + path_to_html = std::string(env_p) + "/usr/bin/html"; } else #endif diff --git a/utils/build_script_linux_appimage.sh b/utils/build_script_linux_appimage.sh index 98ecb8ac..0257977d 100755 --- a/utils/build_script_linux_appimage.sh +++ b/utils/build_script_linux_appimage.sh @@ -45,7 +45,8 @@ echo "--------------------------------------------------" echo "Building...." -rm -rf build; mkdir -p build/release; cd build/release; +#rm -rf build; mkdir -p build/release; +cd build/release; cmake $testnet_def -D STATIC=true -D ARCH=x86-64 -D BUILD_GUI=TRUE -D OPENSSL_ROOT_DIR="$OPENSSL_ROOT_DIR" -D CMAKE_PREFIX_PATH="$QT_PREFIX_PATH" -D CMAKE_BUILD_TYPE=Release ../.. if [ $? -ne 0 ]; then echo "Failed to run cmake"