Update indicateActivity from zshlib

This commit is contained in:
Rezart Qelibari
2022-04-28 11:01:06 +02:00
parent 32457fc4a4
commit 5238cf3754
9 changed files with 108 additions and 98 deletions

View File

@@ -98,10 +98,10 @@ function configure_system() {
local remapKeysPath="${dstDir}/remap-keys"
local launchDaemonPath="/Library/LaunchDaemons/${serviceName}.plist"
ensurePathOrLogError ${dstDir} 'Could not install remap-keys.' || return 10
[[ -x ${remapKeysPath} ]] || indicateActivity createRemapKeysBinary 'Create remap-keys executable'
[[ -x ${remapKeysPath} ]] || indicateActivity -- 'Create remap-keys executable' createRemapKeysBinary
[[ -x ${xpcConsumerPath} ]] || createXPCConsumer 'Create XPC event consuer'
[[ -f ${launchDaemonPath} ]] || createLaunchDaemon 'Create Launch Daemon'
indicateActivity enableLaunchDaemon 'Enable Launch Daemon'
indicateActivity -- 'Enable Launch Daemon' enableLaunchDaemon
}
function getExecPrerequisites() {