fix: Fixes install-webapp script not properly handling spaces in the desktop file name.

This commit is contained in:
2025-10-06 10:57:07 -04:00
parent b1fb505ac5
commit 009efbb952
3 changed files with 7 additions and 6 deletions

View File

@@ -294,7 +294,7 @@ log "\e[032mCreating web app:\e[0m $desktop_file"
print_properties
if [[ $dry_run == "0" ]]; then
generate_file $desktop_file
generate_file "$desktop_file"
fi
if [[ $interactive_mode == true ]] && [[ $dry_run == "0" ]]; then

View File

@@ -23,7 +23,7 @@ OPTIONS:
instance.
-x | --close-active-only: Close only windows on active workspace matching the pattern.
-s | --special <name>: Launch or toggle a special workspace.
-n | --new-instance: Launch a new instance of an application.
-n | --new: Launch a new instance of an application.
-h | --help: Show this help page.
NOTES:
@@ -73,7 +73,7 @@ while [[ $# -gt 0 ]]; do
close_flag="1"
close_active_only_flag="1"
action="closewindow"
elif [[ $1 == "-n" ]] || [[ $1 == "--new-instance" ]]; then
elif [[ $1 == "-n" ]] || [[ $1 == "--new" ]]; then
new_instance_flag="1"
elif [[ $1 == "-h" ]] || [[ $1 == "--help" ]]; then
usage && exit 0