1
1
mirror of https://github.com/neosubhamoy/pytubepp-helper.git synced 2026-02-04 11:22:22 +05:30

(refactor): added gnome-terminal as deb, rpm dependency and introduced package manager based linux distro detection

This commit is contained in:
2024-12-30 23:38:56 +05:30
Verified
parent bac65b9832
commit abd6088ca9
5 changed files with 40 additions and 15 deletions

View File

@@ -32,6 +32,11 @@
"cmd": "grep",
"args": ["^ID=", "/etc/os-release"]
},
{
"name": "detect-pkgmngr",
"cmd": "sh",
"args": ["-c", "command -v apt || command -v dnf || command -v pacman"]
},
{
"name": "is-apt-installed",
"cmd": "apt",
@@ -128,7 +133,7 @@
"icons/icon.ico"
],
"deb": {
"depends": ["python3-pip", "ffmpeg"],
"depends": ["python3-pip", "ffmpeg", "gnome-terminal"],
"files": {
"/etc/opt/chrome/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
"/etc/chromium/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
@@ -141,7 +146,7 @@
"epoch": 0,
"release": "1",
"license": "MIT",
"depends": ["python3-pip", "ffmpeg-free"],
"depends": ["python3-pip", "ffmpeg-free", "gnome-terminal"],
"files": {
"/etc/opt/chrome/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
"/etc/chromium/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",