diff --git a/modules/06-install-remap-keys.sh b/modules/06-install-remap-keys.sh index 62dcb95..f364bf8 100755 --- a/modules/06-install-remap-keys.sh +++ b/modules/06-install-remap-keys.sh @@ -117,8 +117,9 @@ function createLaunchDaemon() { } function enableLaunchDaemon() { - launchctl enable system/${launchDaemonPath%.*} - launchctl bootstrap system ${launchDaemonPath} + local serviceName="$($dataProvider LaunchdServiceName)" + launchctl enable system/${serviceName} + launchctl bootstrap system/ ${launchDaemonPath} } function createLaunchdService() {