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(build): the desktop template was never reaching the bundler

Yahya Zekry987bebeda953
diff --git a/src-tauri/desktop.template b/src-tauri/desktop.template
index 8f6841cd..923a1f47 100644
--- a/src-tauri/desktop.template
+++ b/src-tauri/desktop.template
@@ -1,5 +1,11 @@
[Desktop Entry]
-Categories=Network;FileTransfer;
+# Categories, GenericName and Keywords are hardcoded rather than derived from
+# `bundle.category`: settings.app_category() maps through a fixed AppCategory
+# table that cannot express a multi-value list like Network;FileTransfer;.
+# Keep these three lines in sync with flatpak/wtf.tonho.omniget.desktop.
+Categories=Network;FileTransfer;Utility;
+GenericName=Download Manager
+Keywords=omniget;download;downloader;video;media;udemy;hotmart;youtube;telegram;
{{#if comment}}
Comment={{comment}}
{{/if}}
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 3e09625e..d09a7ab1 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -62,14 +62,6 @@
"../browser-extension/chrome/": "browser-extension/chrome/",
"../browser-extension/firefox/": "browser-extension/firefox/"
},
- "linux": {
- "deb": {
- "desktopTemplate": "./desktop.template"
- },
- "rpm": {
- "desktopTemplate": "./desktop.template"
- }
- },
"icon": [
"icons/32x32.png",
"icons/128x128.png",
@@ -85,7 +77,11 @@
"deb": {
"depends": [
"libasound2"
- ]
+ ],
+ "desktopTemplate": "./desktop.template"
+ },
+ "rpm": {
+ "desktopTemplate": "./desktop.template"
}
}
}