Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
feat: enhance Flatpak build configuration and update desktop entry metadata
Tonhoa7801a96c1ad
diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.ymlindex 4db627e9..35a28587 100644--- a/.github/workflows/flatpak.yml+++ b/.github/workflows/flatpak.yml@@ -5,50 +5,28 @@ on:release:types: [published]+concurrency:+ group: flatpak-${{ github.ref }}+ cancel-in-progress: true+jobs:flatpak:- name: Build Flatpak Bundle- runs-on: ubuntu-latest+ name: Build Flatpak (${{ matrix.arch }})+ runs-on: ${{ matrix.runner }}container:image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48options: --privileged- steps:- - name: Checkout- uses: actions/checkout@v4-- - name: Generate offline sources- run: |- 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"-- curl -sSfL -o flatpak-cargo-generator.py 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-- npm install --package-lock-only --ignore-scripts- python3 -m flatpak_node_generator npm package-lock.json -o flatpak/node-sources.json-- - name: Build Flatpak- uses: flatpak/flatpak-github-actions/flatpak-builder@v6- with:- manifest-path: flatpak/wtf.tonho.omniget.yml- bundle: omniget.flatpak- upload-artifact: true- cache-key: flatpak-builder-${{ github.sha }}-- - name: Upload Flatpak to Release- if: github.event_name == 'release'- uses: softprops/action-gh-release@v2- with:- files: omniget.flatpak-- flatpak-aarch64:- name: Build Flatpak Bundle (aarch64)- runs-on: ubuntu-24.04-arm- container:- image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48- options: --privileged+ strategy:+ matrix:+ include:+ - arch: x86_64+ runner: ubuntu-latest+ bundle: omniget.flatpak+ - arch: aarch64+ runner: ubuntu-24.04-arm+ bundle: omniget-aarch64.flatpak+ fail-fast: falsesteps:- name: Checkout@@ -57,8 +35,8 @@ jobs:- name: Generate offline sourcesrun: |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"+ python3 -m pip install --break-system-packages aiohttp tomlkit+ python3 -m pip install --break-system-packages "git+https://github.com/flatpak/flatpak-builder-tools.git#subdirectory=node"curl -sSfL -o flatpak-cargo-generator.py https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/refs/heads/master/cargo/flatpak-cargo-generator.pypython3 flatpak-cargo-generator.py src-tauri/Cargo.lock -o flatpak/cargo-sources.json@@ -66,17 +44,21 @@ jobs:npm install --package-lock-only --ignore-scriptspython3 -m flatpak_node_generator npm package-lock.json -o flatpak/node-sources.json+ - name: Validate AppStream metainfo+ run: appstreamcli validate flatpak/wtf.tonho.omniget.metainfo.xml+- name: Build Flatpakuses: flatpak/flatpak-github-actions/flatpak-builder@v6with:manifest-path: flatpak/wtf.tonho.omniget.yml- bundle: omniget-aarch64.flatpak+ bundle: ${{ matrix.bundle }}upload-artifact: true- arch: aarch64- cache-key: flatpak-builder-aarch64-${{ github.sha }}+ arch: ${{ matrix.arch }}+ cache-key: flatpak-builder-${{ hashFiles('flatpak/wtf.tonho.omniget.yml', 'src-tauri/Cargo.lock', 'package.json') }}- name: Upload Flatpak to Releaseif: github.event_name == 'release'uses: softprops/action-gh-release@v2with:- files: omniget-aarch64.flatpak+ tag_name: ${{ github.event.release.tag_name }}+ files: ${{ matrix.bundle }}diff --git a/flatpak/wtf.tonho.omniget.desktop b/flatpak/wtf.tonho.omniget.desktopindex 1fdc849e..44fcb6d6 100644--- a/flatpak/wtf.tonho.omniget.desktop+++ b/flatpak/wtf.tonho.omniget.desktop@@ -1,10 +1,11 @@[Desktop Entry]Name=OmnigetComment=Download media from multiple platforms+GenericName=Download ManagerExec=omnigetIcon=wtf.tonho.omnigetTerminal=falseType=ApplicationCategories=Network;FileTransfer;Utility;-Keywords=download;video;media;udemy;hotmart;youtube;telegram;+Keywords=omniget;download;downloader;video;media;udemy;hotmart;youtube;telegram;StartupWMClass=omnigetdiff --git a/flatpak/wtf.tonho.omniget.metainfo.xml b/flatpak/wtf.tonho.omniget.metainfo.xmlindex 9a59d9dd..26e523cb 100644--- a/flatpak/wtf.tonho.omniget.metainfo.xml+++ b/flatpak/wtf.tonho.omniget.metainfo.xml@@ -4,7 +4,10 @@<name>Omniget</name><summary>Download media from multiple platforms</summary><metadata_license>CC0-1.0</metadata_license>- <project_license>MIT</project_license>+ <project_license>GPL-3.0-or-later</project_license>+ <developer id="wtf.tonho">+ <name>Tonho</name>+ </developer><description><p>Omniget is a desktop application to download videos, courses, and media@@ -22,14 +25,27 @@</description><url type="homepage">https://github.com/tonhowtf/omniget</url><url type="bugtracker">https://github.com/tonhowtf/omniget/issues</url>+ <url type="vcs-browser">https://github.com/tonhowtf/omniget</url><launchable type="desktop-id">wtf.tonho.omniget.desktop</launchable><provides><binary>omniget</binary></provides>+ <screenshots>+ <screenshot type="default">+ <caption>Main download interface</caption>+ <image>https://raw.githubusercontent.com/tonhowtf/omniget/v0.2.12/flatpak/screenshots/main.png</image>+ </screenshot>+ </screenshots>+ <branding>+ <color type="primary" scheme_preference="light">#f4f4f4</color>+ <color type="primary" scheme_preference="dark">#131313</color>+ </branding><content_rating type="oars-1.1" /><releases><release version="0.2.12" date="2026-02-19">- <description><p>Current release</p></description>+ <description>+ <p>Telegram improvements: thumbnail previews with LRU cache, media search, and memory cleanup on navigation.</p>+ </description></release></releases></component>diff --git a/flatpak/wtf.tonho.omniget.yml b/flatpak/wtf.tonho.omniget.ymlindex 9fe35035..93580460 100644--- a/flatpak/wtf.tonho.omniget.yml+++ b/flatpak/wtf.tonho.omniget.yml@@ -14,16 +14,12 @@ finish-args:- --socket=fallback-x11- --socket=wayland- --device=dri- - --socket=pulseaudio- - --filesystem=xdg-run/pipewire-0- --filesystem=xdg-download- --filesystem=xdg-videos- --filesystem=xdg-music- --talk-name=org.freedesktop.Notifications- --talk-name=org.kde.StatusNotifierWatcher- --talk-name=org.freedesktop.FileManager1- - --talk-name=org.freedesktop.portal.OpenURI- - --talk-name=org.freedesktop.portal.FileChooserbuild-options:append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/node20/bin@@ -32,7 +28,10 @@ build-options:npm_config_nodedir: /usr/lib/sdk/node20cleanup:+ - /include- /lib/pkgconfig+ - /lib/*.la+ - /share/manmodules:- name: ffmpeg