Vendor the command set the menu and shell depend on
This commit is contained in:
@@ -67,11 +67,6 @@ desktop_name="${desktop_file##*/}"
|
||||
desktop_name="${desktop_name%.desktop}"
|
||||
exec_line="$(sed -n 's/^Exec=//p' "$desktop_file" | head -1)"
|
||||
|
||||
if [[ $exec_line =~ blob-launch-webapp|blob-webapp-handler ]]; then
|
||||
BLOB_REMOVE_NOTIFY=false blob-webapp-remove "$desktop_name"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ $exec_line =~ (^|[[:space:]])(\$TERMINAL|xdg-terminal-exec)[[:space:]].*-e([[:space:]]|$) ]]; then
|
||||
BLOB_REMOVE_NOTIFY=false blob-tui-remove "$desktop_name"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user