Skip to content

Commit

Permalink
Fixed python bin on win
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Sep 26, 2023
1 parent 9ee9138 commit 81a2dc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions desktop/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 81a2dc3

Please sign in to comment.