This commit is contained in:
John Kooker 2017-08-16 06:40:37 -07:00 коммит произвёл GitHub
Родитель cb23f15b6c
Коммит 5fc4f2f553
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -2,15 +2,15 @@
set -e
KEXT="/Library/Extensions/softu2f.kext"
LAUCNH_AGENTS_DIR="$HOME/Library/LaunchAgents"
LAUNCH_AGENT_PLIST="$LAUCNH_AGENTS_DIR/com.github.SoftU2F.plist"
LAUNCH_AGENTS_DIR="$HOME/Library/LaunchAgents"
LAUNCH_AGENT_PLIST="$LAUNCH_AGENTS_DIR/com.github.SoftU2F.plist"
# Make sure the kext is loaded
kextutil $KEXT
# This directory should already exist, but some users have had issues with it
# being missing.
mkdir -p $LAUCNH_AGENTS_DIR
mkdir -p $LAUNCH_AGENTS_DIR
# Write a LaunchAgent plist so app starts at login
cat > $LAUNCH_AGENT_PLIST << EOT