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:
|
linux-pyinstaller:
|
||||||
name: Linux (PyInstaller)
|
name: Linux (PyInstaller)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -156,7 +156,7 @@ jobs:
|
|||||||
|
|
||||||
linux-appimage:
|
linux-appimage:
|
||||||
name: Linux (AppImage)
|
name: Linux (AppImage)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- 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 -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"
|
- 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"
|
- python3 -m pip install --ignore-installed --prefix=/usr --root="$TARGET_APPDIR" -r "$SOURCE_DIR/../requirements.txt"
|
||||||
|
|
||||||
AppDir:
|
AppDir:
|
||||||
@@ -31,7 +31,7 @@ AppDir:
|
|||||||
name: Twitch Drops Miner
|
name: Twitch Drops Miner
|
||||||
icon: io.github.devilxd.twitchdropsminer
|
icon: io.github.devilxd.twitchdropsminer
|
||||||
version: '{{APP_VERSION}}'
|
version: '{{APP_VERSION}}'
|
||||||
exec: usr/bin/python3
|
exec: usr/bin/python${{env.PYTHON_VERSION}}
|
||||||
exec_args: '${APPDIR}/usr/src/main.py $@'
|
exec_args: '${APPDIR}/usr/src/main.py $@'
|
||||||
|
|
||||||
apt:
|
apt:
|
||||||
|
|||||||
Reference in new issue
Block a user