diff --git a/desktop/settings.ts b/desktop/settings.ts index 8e1011185..216a77226 100644 --- a/desktop/settings.ts +++ b/desktop/settings.ts @@ -18,5 +18,6 @@ export const APP_RUNNER = join(APP_HOME, 'runner') export const APP_PYTHON = join(APP_HOME, 'python') export const APP_EXAMPLE = join(APP_HOME, 'example') -export const PYTHON_SOURCE = join(APP_RUNNER, 'bin', 'python3') -export const PYTHON_TARGET = join(APP_PYTHON, 'bin', 'python3') +export const PYTHON_BIN = process.platform === 'win32' ? 'python.exe' : 'python' +export const PYTHON_SOURCE = join(APP_RUNNER, 'bin', PYTHON_BIN) +export const PYTHON_TARGET = join(APP_PYTHON, 'bin', PYTHON_BIN)