Skip to content

Commit

Permalink
fixed Python executable name
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger committed Jul 9, 2024
1 parent b15efe5 commit 3778267
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.11]
python-version: [3.8, 3.11, 3.12]

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 3 additions & 4 deletions ufbt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,14 @@ def ufbt_cli():
UFBT_APP_DIR = os.getcwd()

if platform.system() == "Windows":
commandline = r'call "%UFBT_STATE_DIR%/current/scripts/toolchain/fbtenv.cmd" env & python '
else:
commandline = (
r'call "%UFBT_STATE_DIR%/current/scripts/toolchain/fbtenv.cmd" env & '
'. "$UFBT_STATE_DIR/current/scripts/toolchain/fbtenv.sh" && python3 '
)
else:
commandline = '. "$UFBT_STATE_DIR/current/scripts/toolchain/fbtenv.sh" && '

commandline += oslex.join(
[
"python3",
"-m",
"SCons",
"-Q",
Expand Down

0 comments on commit 3778267

Please sign in to comment.