diff --git a/appimage/AppImageBuilder.yml b/appimage/AppImageBuilder.yml index 284f47bd..21bf1d63 100644 --- a/appimage/AppImageBuilder.yml +++ b/appimage/AppImageBuilder.yml @@ -22,6 +22,8 @@ script: - cp -r "$SOURCE_DIR/../lang" "$SOURCE_DIR/../icons" "$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" + # Create a virtual environment and install up-to-date versions of meson and ninja. + - python3 -m venv env && source ./env/bin/activate && python3 -m pip install meson ninja # Install requirements. - python3 -m pip install --ignore-installed --prefix=/usr --root="$TARGET_APPDIR" -r "$SOURCE_DIR/../requirements.txt" certifi # Generate byte-code files beforehand, for slightly faster app startup. diff --git a/requirements.txt b/requirements.txt index c743877a..4d0730e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ aiohttp>=3.9,<4.0 Pillow pystray -PyGObject<3.47; sys_platform == "linux" # required for better system tray support on Linux +PyGObject; sys_platform == "linux" # required for better system tray support on Linux # environment-dependent dependencies pywin32; sys_platform == "win32"