Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix: ensure pip is upgraded before installing dependencies in Flatpak workflow

Tonhoeb3f84da0ff4
diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml
index 3faf3c7d..5a32054a 100644
--- a/.github/workflows/flatpak.yml
+++ b/.github/workflows/flatpak.yml
@@ -19,8 +19,9 @@ jobs:
- name: Generate offline sources
run: |
- pip3 install aiohttp tomlkit
- pip3 install "git+https://github.com/flatpak/flatpak-builder-tools.git#subdirectory=node"
+ python3 -m ensurepip --upgrade
+ python3 -m pip install aiohttp tomlkit
+ python3 -m pip install "git+https://github.com/flatpak/flatpak-builder-tools.git#subdirectory=node"
wget -q https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/refs/heads/master/cargo/flatpak-cargo-generator.py
python3 flatpak-cargo-generator.py src-tauri/Cargo.lock -o flatpak/cargo-sources.json