Merge pull request #46 from SmileMachine/patch-1

fix: 修复安装脚本中 macOS 的参数处理
This commit is contained in:
Akizon
2025-10-31 15:41:30 +08:00
committed by GitHub

View File

@@ -625,9 +625,7 @@ EOF
# Add program arguments if provided # Add program arguments if provided
if [ -n "$komari_args" ]; then if [ -n "$komari_args" ]; then
for arg in $komari_args; do echo "$komari_args" | xargs -n1 printf " <string>%s</string>\n" 
echo " <string>$arg</string>" >> "$plist_file"
done
fi fi
cat >> "$plist_file" << EOF cat >> "$plist_file" << EOF