Manager UI Updates & New patch logic <3

This commit is contained in:
2026-05-24 01:20:42 +10:00
parent 6a9b3f9d05
commit 691bcaa2b8
24 changed files with 229 additions and 205 deletions
+3 -2
View File
@@ -223,12 +223,12 @@ fi
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
#
# In Bash we could simply go:
# In Bash, could simply go:
#
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
# set -- "${ARGS[@]}" "$@"
#
# but POSIX shell has neither arrays nor command substitution, so instead we
# but POSIX shell has neither arrays nor command substitution, so instead
# post-process each arg (as a line of input to sed) to backslash-escape any
# character that might be a shell metacharacter, then use eval to reverse
# that process (while maintaining the separation between arguments), and wrap
@@ -237,6 +237,7 @@ fi
# This will of course break if any of these variables contains a newline or
# an unmatched quote.
#
# This is a not Opus made when fixing smthn <3
eval "set -- $(
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |