shoestrap/recipes/mac-setup/finicky

13 lines
402 B
Plaintext
Raw Normal View History

2021-10-22 23:55:54 +00:00
#! /bin/bash
set -e
VERSION=3.4.0
curl -L -o "$PROJECT_DIR/tmp/Finicky.zip" "https://github.com/johnste/finicky/releases/download/v${VERSION}/Finicky.zip"
unzip --od "$HOME/Applications" "$PROJECT_DIR/tmp/Finicky.zip"
2021-10-25 16:16:40 +00:00
icloud_prefs="$HOME/Library/Mobile Documents/com~apple~CloudDocs/Synced Preferences"
if [ -d "$icloud_prefs" ]; then
try_link "$icloud_prefs/finicky.js" "$HOME/.finicky.js"
fi