-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
51 lines (44 loc) · 2.01 KB
/
setup.sh
File metadata and controls
51 lines (44 loc) · 2.01 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
#! /bin/bash
# sudo dscl . -create /Users/Admin@Mikan
# sudo dscl . -create /Users/Admin@Mikan UserShell /bin/bash
# sudo dscl . -create /Users/Admin@Mikan realname 'Admin @Mikan'
# sudo dscl . -create /Users/Admin@Mikan UniqueID 1001
# sudo dscl . -create /Users/Admin@Mikan PrimaryGroupID 1000
# sudo dscl . -create /Users/Admin@Mikan NFSHomeDirectory /Local/Users/Admin@Mikan
# sudo dscl . -passwd /Users/Admin@Mikan adminpassword1
# sudo dscl . -append /Groups/admin GroupMembership Admin@Mikan
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install dockutil
brew install google-chrome
brew install firefox
brew install snip
brew install adobe-acrobat-reader
brew install zoom
brew install --cask onedrive
brew install microsoft-powerpoint
brew install microsoft-word
brew install microsoft-excel
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/System/Library/Desktop Pictures/Solid Colors/Black.png"'
osascript -e 'tell app "System Events" to set current screen saver to screen saver "FloatingMessage"'
defaults write com.apple.systemuiserver menuExtras -array \
"/System/Library/CoreServices/Menu Extras/AirPort.menu" \
"/System/Library/CoreServices/Menu Extras/Bluetooth.menu" \
"/System/Library/CoreServices/Menu Extras/Clock.menu" \
"/System/Library/CoreServices/Menu Extras/Displays.menu" \
"/System/Library/CoreServices/Menu Extras/Volume.menu"
killall SystemUIServer
dockutil --remove "News"
dockutil --remove "TV"
dockutil --remove "Podcasts"
dockutil --remove "Music"
dockutil --remove "Photos"
dockutil --remove "Maps"
dockutil --remove "App Store"
dockutil --add /Applications/FireFox.app
dockutil --add /Applications/Adobe\ Acrobat\ Reader\ DC.app
dockutil --add /Applications/Google\ Chrome.app
dockutil --add /Applications/Microsoft\ Word.app
dockutil --add /Applications/Adobe\ Acrobat\ Reader\ DC.app
dockutil --add /Applications/Microsoft\ Excel.app
dockutil --add /Applications/Microsoft\ PowerPoint.app
dockutil --add /Applications/OneDrive.app