Patch Changes
-
#48
f374904Thanks @spectra-the-bot! - FixgetDisabledMap()regex forlaunchctl print-disabledoutput on macOS 12+The previous regex (
"([^"]+)"\s*=\s*(true|false);) never matched the actual
launchctl print-disabled gui/<uid>output, which uses the format:"dev.openclaw.native-scheduler.foo" => enabled "dev.openclaw.native-scheduler.bar" => disabledAs a result,
getDisabledMap()always returned{}, causingsummarize()to
always reportdisabled: falseregardless of actual launchd state. This meant
native_scheduler listandnative_scheduler getshowed every job as enabled
even when disabled.Updated regex to
"([^"]+)"\s*=>\s*(enabled|disabled)with value mapping
match[2] === "disabled"to correctly reflect the launchd override database.