Add add_file utility method
This commit is contained in:
parent
68fffc2177
commit
baaea05fe7
1 changed files with 3 additions and 0 deletions
|
@ -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}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue