Add add_file utility method

This commit is contained in:
JeremyStar™ 2024-10-22 21:15:57 +02:00
parent 68fffc2177
commit baaea05fe7
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -40,6 +40,9 @@ function add_app() {
function add_binary() {
is_binary "${2}" && add_app "${1}" "${2}"
}
function add_file() {
is_file "${2}" && add_app "${1}" "${2}"
}
function add_flatpak() {
is_flatpak "${2}" && add_app "${1}" "flatpak run ${2}"
}