提交 9d5ad60a 编写于 作者: armink_ztl's avatar armink_ztl

[tools] Fix pyconfig issue on windows.

上级 0ed24743
......@@ -230,7 +230,9 @@ def menuconfig(RTT_ROOT):
def guiconfig(RTT_ROOT):
import pyguiconfig
touch_env()
if sys.platform != 'win32':
touch_env()
env_dir = get_env_dir()
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
......@@ -259,7 +261,9 @@ def guiconfig(RTT_ROOT):
def guiconfig_silent(RTT_ROOT):
import defconfig
touch_env()
if sys.platform != 'win32':
touch_env()
env_dir = get_env_dir()
os.environ['PKGS_ROOT'] = os.path.join(env_dir, 'packages')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册