Skip to content

Commit

Permalink
Yet another attempt at passing env vars to the script
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Jan 20, 2024
1 parent aede883 commit 0df7d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ jobs:
env:
APPIMAGE_EXTRACT_AND_RUN: 1
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
run: |
./appimage-builder --recipe appimage/AppImageBuilder.yml
Expand Down
4 changes: 2 additions & 2 deletions appimage/AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ AppDir:
name: Twitch Drops Miner
icon: io.github.devilxd.twitchdropsminer
version: '{{APP_VERSION}}'
exec: usr/bin/python{{env.PYTHON_VERSION}}
exec: usr/bin/python{{PYTHON_VERSION}}
exec_args: '${APPDIR}/usr/src/main.py $@'

apt:
Expand Down Expand Up @@ -126,7 +126,7 @@ AppDir:
env:
PATH: '${APPDIR}/usr/bin:${PATH}'
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python{{env.PYTHON_VERSION}}/tkinter:${APPDIR}/usr/lib/python{{env.PYTHON_VERSION}}/site-packages'
PYTHONPATH: '${APPDIR}/usr/lib/python{{PYTHON_VERSION}}/tkinter:${APPDIR}/usr/lib/python{{PYTHON_VERSION}}/site-packages'
APPDIR_LIBRARY_PATH: '${APPDIR}/usr/lib:${APPDIR}/usr/lib/x86_64-linux-gnu:${APPDIR}/lib/x86_64-linux-gnu'
TCL_LIBRARY: '${APPDIR}/usr/share/tcltk/tcl8.6'
TK_LIBRARY: '${APPDIR}/usr/lib/tcltk/x86_64-linux-gnu/tk8.6'
Expand Down

0 comments on commit 0df7d9e

Please sign in to comment.