Uma loja de apps por linha de comando
Publicado por nillythel0l (última atualização em 13/05/2022)
[ Hits: 2.664 ]
Bom dia a todos, estou desenvolvendo uma loja de apps por linha de comandos, tem alguns apps mas estou adicionando todo dia outros novos. Eu estou focando mais em appimage mas tem uns .deb ai kkkkk
O script tá em puro Beta, então, se tiver algum erro por favor me avise.
Segue abaixo o download do instalador do sccript (recomendo baixar o instalador em vez de copiar e colar o script.
# codigo fonte do programa (instale pelo instalador para garantir dependencias e diretorios ) tamo junto :D
#!/usr/bin/env bash
usage() {
cat <<EOF
usage: ${0##*/} [app]
${0##*/} By NillyTheL0L 2022-2022
AppsImages:
--itch An Amazing Game store for linux (not appimage or deb)
--inkscape Advanced drawing app (AppImage)
--gparted A Partition app (AppImage)
--audacity An Audio Mixer (AppImage)
--librewolf A amazing web browser (AppImage)
--ferdi Multiservices app (AppImage)
Deb:
--chrome Modern browser (.deb)
--discord Chatting program (.deb)
--discord-canary Beta chatting program (.deb)
--atom modern ide (.deb)
--steam game station (.deb)
--onlyoffice Office program
EOF
}
[[ -z $1 ]] && {
usage
exit 1
}
chrome(){
cd ~/.local/share/ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo dpkg -i google-chrome-stable_current_amd64.deb && rm -rf google-chrome-stable_current_amd64.deb && cd ~/ && echo app installed with sucess
}
discord(){
cd ~/.local/share/ && wget https://dl.discordapp.net/apps/linux/0.0.17/discord-0.0.17.deb && sudo dpkg -i discord-0.0.17.deb && rm -rf discord-0.0.17.deb && cd ~/ && app installed with sucess
}
discord-canary(){
cd ~/.local/share/ && wget https://dl-canary.discordapp.net/apps/linux/0.0.134/discord-canary-0.0.134.deb && sudo dpkg -i discord-canary-0.0.134.deb && rm -rf discord-canary-0.0.134.deb && cd ~/ && echo app installed with sucess
}
atom(){
cd ~/.local/share/ && wget https://atom-installer.github.com/v1.59.0/atom-amd64.deb && sudo dpkg -i atom-amd64.deb && rm -rf atom-amd64.deb && cd ~/ && echo app installed with sucess
}
itch(){
cd ~/.local/share/ && wget https://download1076.mediafire.com/ct2ajb0g7aug/v00l6b5oqra4c6h/itch-setup && chmod +x itch-setup && ./itch-setup && cd ~/ && echo app installed with sucess
}
steam(){
cd ~/.local/share/ && wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb && sudo dpkg -i steam.deb && rm -rf steam.deb && cd ~/ && echo app installed with sucess
}
inkscape(){
cd ~/Desktop && wget https://media.inkscape.org/dl/resources/file/Inkscape-0a00cf5-x86_64.AppImage && cd ~/ && echo appimage installed with sucess in /home/$USER/Desktop/
}
onlyoffice(){
cd ~/.local/share/ && wget https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors_amd64.deb && sudo dpkg -i onlyoffice-desktopeditors_amd64.deb && rm -rf onlyoffice-desktopeditors_amd64.deb && cd ~/ && echo app installed with sucess
}
gparted(){
cd ~/Desktop && wget https://apprepo.de/uploads/package/version/2022/02/06/102453/Gparted.AppImage && cd ~/ && echo appimage installed with sucess in /home/$USER/Desktop/
}
audacity(){
cd ~/Desktop && wget https://github.com/audacity/audacity/releases/download/Audacity-3.1.3/audacity-linux-3.1.3-x86_64.AppImage cd ~/ && echo appimage installed with sucess in /home/$USER/Desktop/
}
librewolf(){
cd ~/Desktop && wget https://download943.mediafire.com/91e2t4qw35wg/jif8wa50dm7c1by/LibreWolf.x86_64.AppImage && cd ~/ && echo appimage installed with sucess in /home/$USER/Desktop/
}
ferdi(){
cd ~/Desktop && wget https://github.com/getferdi/ferdi/releases/download/v5.8.0/Ferdi-5.8.0.AppImage && cd ~/ && echo appimage installed with sucess in /home/$USER/Desktop/
}
cat <<EOF
Cli-Apps --- Utility
NillyTheL0L - 2022-2022
EOF
while [[ "$1" ]]; do
read -s -n 1 -p "Do you want to continue?[y/N]: "
[[ "$REPLY" == "y" || "$REPLY" == "Y" ]] && {
echo
case "$1" in
--chrome|-ch) chrome;;
--discord|-dc) discord;;
--discord-canary|-dcc) discord-canary;;
--atom|-at) atom;;
--itch|-it) itch;;
--steam|-st) steam;;
--inkscape|-is) inkscape;;
--onlyoffice|-oo) onlyoffice;;
--gparted|-gp) gparted;;
--audacity|-au) audacity;;
--librewolf|-lw) librewolf;;
--ferdi|-fd) ferdi;;
esac
shift
} || {
printf "\nBye\n" "%s" && exit 0
}
done
Script Iptables para servidor DNS e SSH
Script compartilhar conexão e criar regras de Firewall
Detectar sistemas operacionais dos dispositivos na rede via TTL
Solicitar senha para abrir programa
Script iniciante para adm. de usuarios e quotas
Modo Simples de Baixar e Usar o bash-completion
Monitorando o Preço do Bitcoin ou sua Cripto Favorita em Tempo Real com um Widget Flutuante
Instalando partes faltantes do Plasma 6
Adicionar botão "mostrar área de trabalho" no Zorin OS
Como montar um servidor de backup no linux
Pendrive Bootable [RESOLVIDO] (4)
Desenvolvi um programa de hot corner (você colocar o mouse nos cantos)... (2)









