From aa4103c504889526783fabc3be9079b57bc1db38 Mon Sep 17 00:00:00 2001 From: SmileMachine <34188812+SmileMachine@users.noreply.github.com> Date: Sun, 26 Oct 2025 20:05:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=B8=AD=20macOS=20=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index d65d19c..e08d4ad 100755 --- a/install.sh +++ b/install.sh @@ -625,9 +625,7 @@ EOF # Add program arguments if provided if [ -n "$komari_args" ]; then - for arg in $komari_args; do - echo " $arg" >> "$plist_file" - done + echo "$komari_args" | xargs -n1 printf " %s\n"  fi cat >> "$plist_file" << EOF @@ -683,4 +681,4 @@ else fi log_config "Service: ${GREEN}$service_name${NC}" log_config "Arguments: ${GREEN}$komari_args${NC}" -echo -e "${WHITE}===========================================${NC}" \ No newline at end of file +echo -e "${WHITE}===========================================${NC}"