mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-29 17:17:42 +00:00
15 lines
402 B
Bash
Executable File
15 lines
402 B
Bash
Executable File
#! /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 -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
|