From 0ff8b60887f4b1f5fad2afacbb3de26d3b106552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Gon=C3=A7alves?= Date: Thu, 17 Oct 2024 09:08:24 -0300 Subject: [PATCH] Add EFI Entry Manager --- bigcontrolcenter/usr/bin/bigcontrolcenter-clean-menu | 5 +++-- .../usr/share/bigbashview/apps/bigcontrolcenter/get_json.sh | 2 +- .../share/bigbashview/apps/bigcontrolcenter/getappinfo.py | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bigcontrolcenter/usr/bin/bigcontrolcenter-clean-menu b/bigcontrolcenter/usr/bin/bigcontrolcenter-clean-menu index d0c124fb..90ba6589 100755 --- a/bigcontrolcenter/usr/bin/bigcontrolcenter-clean-menu +++ b/bigcontrolcenter/usr/bin/bigcontrolcenter-clean-menu @@ -86,7 +86,8 @@ function sh_config { "org.kde.ksystemlog.desktop" "org.kde.filelight.desktop" "klassy-settings.desktop" - "firewall-config.desktop") + "firewall-config.desktop" + "qefientrymanager.desktop") } function sh_fix_permissions { @@ -110,7 +111,7 @@ function sh_init { #criar o diretorio if [[ ! -d "$bigdir" ]]; then if ! mkdir -p "$bigdir" 2> /dev/null; then - kdialog --title $"$APP" --error $"Erro na criação do diretório : $bigdir" + kdialog --title $"$APP" --error $"Error creating directory: $bigdir" exit 1 fi fi diff --git a/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/get_json.sh b/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/get_json.sh index e735b67f..dea22907 100755 --- a/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/get_json.sh +++ b/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/get_json.sh @@ -2,7 +2,7 @@ # If the first argument is "cache", then cache the json file if [[ $1 = "cache" ]]; then - python getappinfo.py $(./loop-search.sh | sed -E 's|.*/(.*).desktop|\1|g') android-usb ios-usb network-connect kcm_users timeshift-gtk big-themes-gui > ~/.cache/bigcontrolcenter.json + python getappinfo.py $(./loop-search.sh | sed -E 's|.*/(.*).desktop|\1|g') qefientrymanager android-usb ios-usb network-connect kcm_users timeshift-gtk big-themes-gui > ~/.cache/bigcontrolcenter.json rm ~/.cache/pre-cache-bigcontrolcenter.json exit fi diff --git a/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/getappinfo.py b/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/getappinfo.py index 86ef5586..9f38bade 100755 --- a/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/getappinfo.py +++ b/bigcontrolcenter/usr/share/bigbashview/apps/bigcontrolcenter/getappinfo.py @@ -178,6 +178,11 @@ "app_name": _("Scanners HP"), "app_categories": "Hardware", }, + { + "app_id": "qefientrymanager", + "app_name": _("EFI Entry Manager"), + "app_categories": "System", + }, { "app_id": "iDevice-Mounter", "app_name": _("Assemble Apple Hardware"),