🔥 Remove Ubuntu-specific code.
This commit is contained in:
parent
606a42a5a9
commit
a2dac20a5f
4 changed files with 143 additions and 172 deletions
|
@ -12,6 +12,4 @@ npm_install "gulp CLI" gulp-cli
|
||||||
|
|
||||||
if [ "$(uname)" = Darwin ]
|
if [ "$(uname)" = Darwin ]
|
||||||
brew_install WebStorm webstorm --cask
|
brew_install WebStorm webstorm --cask
|
||||||
else if [ "$(uname)" = Linux ] && cmd_exists snap
|
|
||||||
execute "sudo snap install webstorm --classic" WebStorm
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -36,29 +36,4 @@ if [ "$(uname)" = Darwin ]
|
||||||
|
|
||||||
# Utilities.
|
# Utilities.
|
||||||
brew_install "The Unarchiver" the-unarchiver --cask
|
brew_install "The Unarchiver" the-unarchiver --cask
|
||||||
|
|
||||||
else if [ "$(uname)" = Linux ] && cmd_exists snap
|
|
||||||
# Networking.
|
|
||||||
if ! cmd_exists windscribe
|
|
||||||
execute "sudo wget https://github.com/Windscribe/Desktop-App/releases/download/v2.8.6/windscribe_2.8.6_amd64.deb -O /tmp/ws.deb \
|
|
||||||
&& sudo apt install /tmp/ws.deb" \
|
|
||||||
Windscribe
|
|
||||||
end
|
|
||||||
|
|
||||||
execute "sudo snap install firefox" Firefox
|
|
||||||
execute "sudo snap install qbittorrent-arnatious" qBittorrent
|
|
||||||
|
|
||||||
# Social.
|
|
||||||
execute "sudo snap install discord" Discord
|
|
||||||
# TODO: add check for already installed.
|
|
||||||
execute "sudo wget https://github.com/BetterDiscord/Installer/releases/latest/download/BetterDiscord-Linux.AppImage -O /tmp/bd.AppImage \
|
|
||||||
&& sudo chmod u+x /tmp/bd.AppImage \
|
|
||||||
&& /tmp/bd.AppImage" \
|
|
||||||
BetterDiscord
|
|
||||||
|
|
||||||
# Productivity.
|
|
||||||
execute "sudo snap install obsidian --classic" Obsidian
|
|
||||||
|
|
||||||
# Media.
|
|
||||||
execute "sudo snap install vlc" VLC
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -13,6 +13,4 @@ brew_install Meilisearch meilisearch "" "" true
|
||||||
if [ "$(uname)" = Darwin ]
|
if [ "$(uname)" = Darwin ]
|
||||||
brew_install "Laravel Herd" herd --cask
|
brew_install "Laravel Herd" herd --cask
|
||||||
brew_install PhpStorm phpstorm --cask
|
brew_install PhpStorm phpstorm --cask
|
||||||
else if [ "$(uname)" = Linux ] && cmd_exists snap
|
|
||||||
execute "sudo snap install phpstorm --classic" PhpStorm
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -202,7 +202,7 @@ git_init() {
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
if [ "$(uname)" != "Linux" ] && [ "$(uname)" != "Darwin" ]; then
|
if [ "$(uname)" != "Linux" ] && [ "$(uname)" != "Darwin" ]; then
|
||||||
printf "Sorry, this script is intended only for macOS and Ubuntu!"
|
printf "Sorry, this script is intended only for macOS and Linux!"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue