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 parent
4a990ad981
commit
67eb7d0966
2 files changed
+6
-5
No files matched your search
@@ -207,6 +207,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create AppImage
|
- name: Create AppImage
|
||||||
env:
|
env:
|
||||||
|
ARCH: x86_64
|
||||||
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
|
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
|
||||||
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
|
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -131,14 +131,14 @@ AppDir:
|
|||||||
PATH: '${APPDIR}/usr/bin:${PATH}'
|
PATH: '${APPDIR}/usr/bin:${PATH}'
|
||||||
PYTHONHOME: '${APPDIR}/usr'
|
PYTHONHOME: '${APPDIR}/usr'
|
||||||
PYTHONPATH: '${APPDIR}/usr/lib/python3.10/tkinter:${APPDIR}/usr/lib/python3.10/site-packages'
|
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'
|
TCL_LIBRARY: '${APPDIR}/usr/share/tcltk/tcl8.6'
|
||||||
TK_LIBRARY: '${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/x86_64-linux-gnu/tk8.6'
|
TKPATH: '${APPDIR}/usr/lib/tcltk/{{ARCH}}-linux-gnu/tk8.6'
|
||||||
|
|
||||||
AppImage:
|
AppImage:
|
||||||
arch: x86_64
|
arch: '{{ARCH}}'
|
||||||
file_name: Twitch.Drops.Miner-x86_64.AppImage
|
file_name: Twitch.Drops.Miner-{{ARCH}}.AppImage
|
||||||
comp: zstd
|
comp: zstd
|
||||||
sign-key: None
|
sign-key: None
|
||||||
update-information: guess
|
update-information: guess
|
||||||
Reference in new issue
Block a user