From d569d9a47ac87a9a13931e5a0868780205d80bbb Mon Sep 17 00:00:00 2001 From: "T. R. Bernstein" <137705289+trbernstein@users.noreply.github.com> Date: Fri, 28 Jun 2024 02:17:39 +0200 Subject: [PATCH] Use inherited dataProvider variable --- modules/05-install-remap-keys.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/05-install-remap-keys.sh b/modules/05-install-remap-keys.sh index 8ccc2f3..09880db 100755 --- a/modules/05-install-remap-keys.sh +++ b/modules/05-install-remap-keys.sh @@ -57,7 +57,6 @@ function createXPCConsumer() { } function getProductPlistDict() { - local dataProvider="$1" cat <<- PLISTDICT idProduct @@ -91,7 +90,6 @@ function createRemapKeysBinary() { } function createLaunchDaemon() { - local dataProvider="$1" cat > ${launchDaemonPath} <<- LDAEMON @@ -110,7 +108,7 @@ function createLaunchDaemon() { com.apple.device-attach - $(getProductPlistDict $dataProvider) + $(getProductPlistDict)