Code-Server 3.12 -> 4.5.0

This commit is contained in:
Raven Scott 2022-07-04 20:23:32 -05:00
parent c8b74aeed9
commit d36fe802f8
6 changed files with 68 additions and 18 deletions

View File

@ -12,11 +12,11 @@ echo "Done"
notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We are preparing your installation..."
notif "Installing Code-Server 3.12 using DPKG"
notif "Installing Code-Server 4.5.0 using RPM"
wget https://github.com/coder/code-server/releases/download/v3.12.0/code-server-3.12.0-arm64.rpm
rpm -U code-server-3.12.0-arm64.rpm
rm -f code-server-3.12.0-arm64.rpm
wget https://github.com/coder/code-server/releases/download/v4.5.0/code-server-4.5.0-arm64.rpm
rpm -U code-server-4.5.0-arm64.rpm
rm -f code-server-4.5.0-arm64.rpm
notif "Downloading our configurations"

15
debian/code-server vendored
View File

@ -1,5 +1,10 @@
#!/bin/bash
#
# THIS IS A TEST SCRIPT TO TEST THE HTTP BUG FOUND IN CODE SERVER WITH OUR MASTER SERVER
# THIS SHOULD NOT BE USED ON ACTIVE CONTAINERS
echo "Welcome to the Discord-Linux CodeServer Automated installer"
echo "This installer will automatically select a port on your container."
echo "I will let you know how to access your installation when installation is complete."
@ -7,7 +12,7 @@ echo ""
echo "downloading the Notification Bot"
wget -q -O /usr/bin/notif https://ssh.surf/debian/notif && chmod +x /usr/bin/notif
wget -q -O /usr/bin/notif https://ssh.surf/notif && chmod +x /usr/bin/notif
echo "Done"
notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We are preparing your installation..."
@ -15,13 +20,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v3.12.0/code-server_3.12.0_arm64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb
notif "Installing Code-Server 3.12 using DPKG"
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG"
dpkg -i code-server_3.12.0_arm64.deb
dpkg -i code-server_4.5.0_arm64.deb
rm -f code-server_3.12.0_arm64.deb
rm -f code-server_4.5.0_arm64.deb
notif "Downloading our configurations"

View File

@ -1,5 +1,10 @@
#!/bin/bash
#
# THIS IS A TEST SCRIPT TO TEST THE HTTP BUG FOUND IN CODE SERVER WITH OUR MASTER SERVER
# THIS SHOULD NOT BE USED ON ACTIVE CONTAINERS
echo "Welcome to the Discord-Linux CodeServer Automated installer"
echo "This installer will automatically select a port on your container."
echo "I will let you know how to access your installation when installation is complete."
@ -15,13 +20,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v3.12.0/code-server_3.12.0_arm64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb
notif "Installing Code-Server 3.12 using DPKG"
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG"
dpkg -i code-server_3.12.0_arm64.deb
dpkg -i code-server_4.5.0_arm64.deb
rm -f code-server_3.12.0_arm64.deb
rm -f code-server_4.5.0_arm64.deb
notif "Downloading our configurations"

View File

@ -20,13 +20,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.4.0/code-server_4.4.0_arm64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb
notif "Installing Code-Server code-server_4.4.0_arm64.deb using DPKG"
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG"
dpkg -i code-server_4.4.0_arm64.deb
dpkg -i code-server_4.5.0_arm64.deb
rm -f code-server_4.4.0_arm64.deb
rm -f code-server_4.5.0_arm64.deb
notif "Downloading our configurations"

View File

@ -24,7 +24,7 @@ fc-cache -fv
echo "downloading preconfigured style"
mkdir -vp ~/.config
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/85492450859640
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/89021226408983
echo "done!"
echo 'eval "$(starship init bash)"' >> ~/.bashrc

40
ubuntu/starship-fish Normal file
View File

@ -0,0 +1,40 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
mkdir -vp ~/.config
mkdir -vp ~/.config/fish
sudo apt install fish -y
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
#/bin/bash
# install DroidSansMono Nerd Font --> u can choose another at: https://www.nerdfonts.com/font-downloads
apt install zip unzip -y
echo "[-] Download fonts [-]"
echo "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
mkdir ~/.fonts -vp
unzip -ao FiraCode.zip -d ~/.fonts
rm -vf FiraCode.zip
sudo apt install fontconfig -y
fc-cache -fv
echo "downloading preconfigured style"
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/89021226408983
echo "done!"
echo 'eval "$(starship init bash)"' >> ~/.bashrc
wget -O ~/.config/fish/config.fish https://paste.discord-linux.com/10390186724203
usermod --shell /usr/bin/fish root
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "