-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall.sh
More file actions
30 lines (30 loc) · 1.71 KB
/
Install.sh
File metadata and controls
30 lines (30 loc) · 1.71 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
#!/bin/bash
if ["$(whoami)" == "root"]
user = Username here
then
echo Root check passed Make sure this is sudo
cd /home/$user/Downloads/
curl -fsSL https://rpm.librewolf.net/librewolf-repo.repo | pkexec tee /etc/yum.repos.d/librewolf.repo
dnf install librewolf -y
echo installing RPMs
curl -Lo GoogleChrome.rpm https://www.google.com/chrome/next-steps.html?platform=linux&statcb=0&installdataindex=empty&defaultbrowser=0#
curl -Lo vencord.rpm https://vencord.dev/download/vesktop/amd64/rpm
dnf install vencord.rpm -y
dnf install GoogleChrome.rpm -y
echo installing flatpaks and enabling the flathub repo
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub --system org.libreoffice.LibreOffice -y | echo Check if flathub is enabled
flatpak install flathub --system org.kde.audiotube -y
flatpak install flathub --system org.mozilla.Thunderbird -y
flatpak install flathub --system io.missioncenter.MissionCenter -y
echo installing Zed
curl -Lo zed.tar.gz https://zed.dev/api/releases/stable/latest/zed-linux-x86_64.tar.gz
tar -xvf zed.tar.gz -C /home/$user/.local
ln -sf /home/$user/.local/zed.app/bin/zed /home/$user/.local/bin/zed
cp /home/$user/.local/zed.app/share/applications/zed.desktop /home/$user/.local/share/applications/dev.zed.Zed.desktop
sed -i "s|Icon=zed|Icon=$HOME/.local/zed.app/share/icons/hicolor/512x512/apps/zed.png|g" /home/$user/.local/share/applications/dev.zed.Zed.desktop
sed -i "s|Exec=zed|Exec=$HOME/.local/zed.app/libexec/zed-editor|g" /home/$user/.local/share/applications/dev.zed.Zed.desktop
echo installing QT Creator
curl -Lo QTCreator.run https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-online-installer-linux-x64-4.8.1.run
./QTCreator.run
fi