-
Notifications
You must be signed in to change notification settings - Fork 1
/
gaming-setup.sh
executable file
·42 lines (33 loc) · 1.51 KB
/
gaming-setup.sh
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
#!/bin/bash
if command -v apt >>/dev/null; then
printf "\n==> Installing dependencies with apt...\n"
if ( ! command -v add-apt-repository >>/dev/null ); then
sudo apt install software-properties-common
fi
if ( ! command -v polychromatic-cli >>/dev/null ); then
# https://polychromatic.app/download/ubuntu/
sudo add-apt-repository ppa:openrazer/stable
sudo add-apt-repository ppa:polychromatic/stable
sudo apt install openrazer-meta polychromatic
fi
if ( ! command -v ail-cli >>/dev/null); then
# https://github.com/TheAssassin/AppImageLauncher
sudo add-apt-repository ppa:appimagelauncher-team/stable
sudo apt install appimagelauncher
fi
if ( ! command -v signal-desktop >>/dev/null ); then
# https://signal.org/download/linux/
# 1. Install our official public software signing key:
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
# 2. Add our repository to your list of repositories:
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
sudo tee /etc/apt/sources.list.d/signal-xenial.list
# 3. Update your package database and install Signal:
sudo apt update && sudo apt install signal-desktop
fi
if ( ! command -v steam >>/dev/null ); then
sudo apt install steam-installer
fi
fi # end apt
printf "\nDone\n"