Ports: Add launcher_run_in_terminal package.sh variable

This is being used to generate the RunInTerminal entry in launcher app
files.
This commit is contained in:
Linus Groh 2021-07-19 22:06:09 +01:00
commit 6b9e0d98d9
Notes: sideshowbarker 2024-07-18 08:43:44 +09:00

View file

@ -69,6 +69,7 @@ shift
: "${launcher_name:=}"
: "${launcher_category:=}"
: "${launcher_command:=}"
: "${launcher_run_in_terminal:=false}"
: "${icon_file:=}"
run_nocd() {
@ -167,6 +168,7 @@ SCRIPT
Name=$launcher_name
Executable=$launcher_executable
Category=$launcher_category
RunInTerminal=$launcher_run_in_terminal
CONFIG
unset launcher_filename
}