From 7e5482ee26389b33e27b6841d3cefd8c1a84a957 Mon Sep 17 00:00:00 2001 From: Izumi Hoshino Date: Fri, 22 Mar 2024 00:12:05 +0900 Subject: [PATCH] Updated `PY_DEV_EXECUTABLE` --- packages/gui/src/util/chiaEnvironment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gui/src/util/chiaEnvironment.js b/packages/gui/src/util/chiaEnvironment.js index 8c62876d73..1781fcb35c 100644 --- a/packages/gui/src/util/chiaEnvironment.js +++ b/packages/gui/src/util/chiaEnvironment.js @@ -11,7 +11,7 @@ const PY_WIN_DIST_FOLDER = '../../../app.asar.unpacked/daemon'; const PY_DIST_EXECUTABLE = 'chia'; const PY_DIST_EXEC_ARGS = Object.freeze(['start', 'daemon']); -const PY_DEV_EXECUTABLE = '../../../chia/cmds/main.py'; +const PY_DEV_EXECUTABLE = `../../../venv/${process.platform === 'win32' ? 'Scripts/chia.exe' : 'bin/chia'}`; const PY_DEV_EXEC_ARGS = Object.freeze([PY_DEV_EXECUTABLE, 'start', 'daemon']); let pyProc = null;