From bc0687772b9e3cb5bedf078289c7d37789ff5745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Tue, 29 Oct 2024 20:24:28 +0800 Subject: [PATCH] fix --- src/plugins/CMakeLists.txt | 2 +- src/plugins/exec/PyStand.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 4c0299cd..19583cdc 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 52) -set(VERSION_PATCH 2) +set(VERSION_PATCH 3) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h) diff --git a/src/plugins/exec/PyStand.cpp b/src/plugins/exec/PyStand.cpp index 2242b632..e96c6118 100644 --- a/src/plugins/exec/PyStand.cpp +++ b/src/plugins/exec/PyStand.cpp @@ -272,6 +272,7 @@ def MessageBox(msg, info = 'Message'): return 0 os.MessageBox = MessageBox sys.stdout=sys.stderr +sys.path.insert(0, './LunaTranslator') )" #ifndef PYSTAND_CONSOLE LR"(