mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
linux/appimage: remove x86_64 hardcoding from build recipe
Now the target CPU architecture should be set by the 'ARCH' environment variable before invoking appimage-builder. This makes it easier to build the AppImage for other CPU architectures.
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -207,6 +207,7 @@ jobs:
|
||||
|
||||
- name: Create AppImage
|
||||
env:
|
||||
ARCH: x86_64
|
||||
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
|
||||
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
|
||||
run: |
|
||||
|
||||
@@ -131,14 +131,14 @@ AppDir:
|
||||
PATH: '${APPDIR}/usr/bin:${PATH}'
|
||||
PYTHONHOME: '${APPDIR}/usr'
|
||||
PYTHONPATH: '${APPDIR}/usr/lib/python3.10/tkinter:${APPDIR}/usr/lib/python3.10/site-packages'
|
||||
APPDIR_LIBRARY_PATH: '${APPDIR}/usr/lib:${APPDIR}/usr/lib/x86_64-linux-gnu:${APPDIR}/lib/x86_64-linux-gnu'
|
||||
APPDIR_LIBRARY_PATH: '${APPDIR}/usr/lib:${APPDIR}/usr/lib/{{ARCH}}-linux-gnu:${APPDIR}/lib/{{ARCH}}-linux-gnu'
|
||||
TCL_LIBRARY: '${APPDIR}/usr/share/tcltk/tcl8.6'
|
||||
TK_LIBRARY: '${APPDIR}/usr/lib/tcltk/x86_64-linux-gnu/tk8.6'
|
||||
TKPATH: '${APPDIR}/usr/lib/tcltk/x86_64-linux-gnu/tk8.6'
|
||||
TK_LIBRARY: '${APPDIR}/usr/lib/tcltk/{{ARCH}}-linux-gnu/tk8.6'
|
||||
TKPATH: '${APPDIR}/usr/lib/tcltk/{{ARCH}}-linux-gnu/tk8.6'
|
||||
|
||||
AppImage:
|
||||
arch: x86_64
|
||||
file_name: Twitch.Drops.Miner-x86_64.AppImage
|
||||
arch: '{{ARCH}}'
|
||||
file_name: Twitch.Drops.Miner-{{ARCH}}.AppImage
|
||||
comp: zstd
|
||||
sign-key: None
|
||||
update-information: guess
|
||||
|
||||
Reference in New Issue
Block a user