-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapps-install.sh
More file actions
executable file
·77 lines (59 loc) · 1.6 KB
/
apps-install.sh
File metadata and controls
executable file
·77 lines (59 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/sh
## README
# /!\ This script is designed to meet my needs. Don't use it before checking every command ! /!\
## Homebrew
if test ! $(which brew)
then
echo 'Installing Homebrew'
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Check for updates
brew update
## Utilities : Cask and MAS (Mac App Store)
echo 'Installing MAS (Mac App Store).'
brew install mas
echo "ID iCloud :"
read COMPTE
echo "Password : $COMPTE"
read -s PASSWORD
mas signin $COMPTE "$PASSWORD"
echo 'Homebrew Cask'
brew tap caskroom/cask
# Installation d'apps avec MAS (source : https://github.com/argon/mas/issues/41#issuecomment-245846651)
function install () {
# Check if the App is already installed
mas list | grep -i "$1" > /dev/null
if [ "$?" == 0 ]; then
echo "==> $1 is already installed"
else
echo "==> Installing $1..."
mas search "$1" | { read app_ident app_name ; mas install $app_ident ; }
fi
}
## Softwares installation
echo 'Internet'
install "Reeder 4"
install "1Password"
brew cask install 1password firefox transmission
echo 'Monitoring'
brew cask install istat-menus
echo 'iWork'
install "Pages"
install "Keynote"
install "Numbers"
echo 'Developpement'
brew cask install github-desktop atom coda transmit
echo 'Utilities'
brew cask install carbon-copy-cloner handbrake
echo 'Communication'
install "Grids for Instagram"
echo 'Apps images.'
install "Pixelmator"
install "Final Cut Pro"
install "Compressor"
## Cleaning
echo "Derniers nettoyages…"
brew cleanup
rm -f -r /Library/Caches/Homebrew/*
echo "AND VOILÀ !"
echo "Please run app-congig.sh script"