From 20bc68518ac402dbfd68c509bb9b6aa0d41e3998 Mon Sep 17 00:00:00 2001 From: Alexander Barthel Date: Tue, 30 Jul 2024 16:47:06 +0200 Subject: [PATCH] Fix for unreliable exists function --- littlenavmap.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/littlenavmap.pro b/littlenavmap.pro index e55d54db0..90a83332f 100644 --- a/littlenavmap.pro +++ b/littlenavmap.pro @@ -962,8 +962,10 @@ win32 { deploy.commands += xcopy /F $$p($$MARBLE_LIB_PATH/../plugins/libNavigationFloatItem$${DLL_SUFFIX}.dll) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME/plugins) && deploy.commands += xcopy /F $$p($$MARBLE_LIB_PATH/../plugins/libOverviewMap$${DLL_SUFFIX}.dll) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME/plugins) && deploy.commands += xcopy /F $$p($$OUT_PWD/$${TARGET}.exe) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME) && - exists($$OUT_PWD/$${TARGET}.debug) { - deploy.commands += xcopy /F $$p($$OUT_PWD/$${TARGET}.debug) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME) && + !isEqual(ATOOLS_NO_CRASHHANDLER, "true") { + isEqual(CONF_TYPE, "release") { + deploy.commands += xcopy /F $$p($$OUT_PWD/$${TARGET}.debug) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME) && + } } deploy.commands += xcopy /F $$p($$PWD/CHANGELOG.txt) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME) && deploy.commands += xcopy /F $$p($$PWD/README.txt) $$p($$DEPLOY_BASE/$$WIN_TARGET_NAME) &&