-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinstall_dependencies.sh
More file actions
34 lines (28 loc) · 1.01 KB
/
install_dependencies.sh
File metadata and controls
34 lines (28 loc) · 1.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
/usr/bin/sh
$ response=' '
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
plt=$(uname)
if [[ "$plt" == 'Linux' ]]; then
$ response='Your Platform:Ubuntu(Linux): Wait installation..'
cd ~
# ܿܿܿܿܿܿܿܿܿܿܿܿܿܿܿܿReplace '~' to working path to directory
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install ffmpeg
brew install blueutil
brew install brightness
brew install terminal-notifier && echo -e "${GREEN} Successful!"
elif [[ "$plt" == 'Darwin' ]]; then
$ responses= 'Your Platform:Mac-os: Wait installation..'
cd /Users/<NAME>/PycharmProjects/~
# ܿܿܿܿܿܿܿܿܿܿܿܿܿܿܿܿReplace '~' to working path to directory
brew install ffmpeg
brew install blueutil
brew install brightness
brew install terminal-notifier && echo -e "${GREEN} Successful!"
elif [[ "$plt" == 'Win32' ]]; then
echo "${YELLOW} For windows no dependencies. Run Code."
exit 1;
else
echo "platform "$plt" not support."
fi