Add linking of finkicky settings

This commit is contained in:
ViViDboarder 2021-10-25 09:16:40 -07:00
parent 78fbd84eaa
commit 348e452988
1 changed files with 5 additions and 0 deletions

View File

@ -7,3 +7,8 @@ VERSION=3.4.0
curl -L -o "$PROJECT_DIR/tmp/Finicky.zip" "https://github.com/johnste/finicky/releases/download/v${VERSION}/Finicky.zip"
unzip -d "$HOME/Applications" "$PROJECT_DIR/tmp/Finicky.zip"
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