Switch back to ubuntu-20.04 runners, fix AppImage builder exec
This commit is contained in:
1 parent
8cfa43b52b
commit
0a4bef728e
2 files changed
+4
-4
No files matched your search
@@ -79,7 +79,7 @@ jobs:
|
||||
|
||||
linux-pyinstaller:
|
||||
name: Linux (PyInstaller)
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -156,7 +156,7 @@ jobs:
|
||||
|
||||
linux-appimage:
|
||||
name: Linux (AppImage)
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -22,7 +22,7 @@ script:
|
||||
- cp -r "$SOURCE_DIR/../lang" "$SOURCE_DIR/../pickaxe.ico" "$SOURCE_DIR"/../*.py "$TARGET_APPDIR/usr/src"
|
||||
- cp "$SOURCE_DIR/pickaxe.png" "$TARGET_APPDIR/usr/share/icons/hicolor/128x128/apps/io.github.devilxd.twitchdropsminer.png"
|
||||
|
||||
# Remove certifi from the line below if using Python 3.10+.
|
||||
# Install requirements.
|
||||
- python3 -m pip install --ignore-installed --prefix=/usr --root="$TARGET_APPDIR" -r "$SOURCE_DIR/../requirements.txt"
|
||||
|
||||
AppDir:
|
||||
@@ -31,7 +31,7 @@ AppDir:
|
||||
name: Twitch Drops Miner
|
||||
icon: io.github.devilxd.twitchdropsminer
|
||||
version: '{{APP_VERSION}}'
|
||||
exec: usr/bin/python3
|
||||
exec: usr/bin/python${{env.PYTHON_VERSION}}
|
||||
exec_args: '${APPDIR}/usr/src/main.py $@'
|
||||
|
||||
apt:
|
||||
|
||||
Reference in new issue
Block a user