dsmoss/full.zsh

77 lines
2.5 KiB
Bash
Raw Permalink Normal View History

2024-10-30 15:15:38 -05:00
#!/bin/zsh
# Check if the script is run as root
if [[ $EUID -eq 0 ]]; then
echo "Run this script as a normal user, not as root."
exit 1
fi
# Prepare Toolchain
echo "[DSMOSS] Prepare Toolchain..."
2024-10-30 15:15:38 -05:00
xcode-select --install
echo Install toolchain, then press ENTER.
2024-11-10 14:57:58 -06:00
# Prepare Rosetta
echo "[DSMOSS] Prepare Rosetta..."
2024-11-16 14:18:56 -06:00
softwareupdate --install-rosetta --agree-to-license
2024-11-10 14:57:58 -06:00
echo Install Rosetta if on ARM, then press ENTER.
2024-10-30 15:15:38 -05:00
# Prepare Homebrew
echo "[DSMOSS] Prepare Homebrew..."
2024-10-30 15:15:38 -05:00
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
cp ~/.zprofile ~/.zprofile-pretapped
echo 'eval $(/opt/homebrew/bin/brew shellenv)' > ~/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
# Homebrew
echo "[DSMOSS] Install homebrew stuffs..."
2024-11-01 15:52:18 -05:00
brew install mas node python3 potrace telnet imagemagick wget minetest golang microsoft-openjdk@21 gradle c2048 chocolate-doom
2024-11-03 13:05:26 -06:00
brew install ffmpeg streamlink
2024-10-30 15:15:38 -05:00
brew tap localsend/localsend
brew install localsend
brew install --cask toontown-rewritten darktable arc ollama utm hiddenbar vmware-fusion pencil2d vscodium vlc protonvpn upscayl android-studio android-platform-tools libreoffice krita openemu
2024-11-14 15:51:10 -06:00
brew install --cask github@beta inkscape virtual-ii parsec raycast
2024-10-30 15:15:38 -05:00
brew install --cask nvidia-geforce-now roblox robloxstudio blender@lts imazing-profile-editor
brew install git-credential-manager
2024-11-14 15:41:08 -06:00
brew install --cask betterdisplay latest
2024-10-30 15:15:38 -05:00
brew tap macos-fuse-t/homebrew-cask
brew install fuse-t fuse-t-sshfs
# NPM global
echo "[DSMOSS] Install NPM Global stuffs..."
2024-10-30 15:15:38 -05:00
sudo npm install -g cordova
# Mac App Store (MAS cli)
echo "[DSMOSS] Install Mac App Store stuffs..."
2024-10-30 15:15:38 -05:00
mas install 497799835 682658836 425424353 937984704 # XCode, GarageBand, The Unarchiver, Amphetamine.
# Make code folder
echo "[DSMOSS] Make code folder..."
2024-10-30 15:15:38 -05:00
mkdir ~/Code
# Install Video Editor...
echo "[DSMOSS] Install Video Editor..."
brew install --cask kdenlive
2024-10-30 15:15:38 -05:00
# Minecraft get!
echo "[DSMOSS] Minecraft get"
2024-10-30 15:15:38 -05:00
echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc
2024-11-01 15:52:18 -05:00
wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.259/HMCL-3.5.9.259.sh -O ~/Minecraft.sh
2024-10-30 15:15:38 -05:00
chmod +x ~/Minecraft.sh
# Add extra net tools...
echo "[DSMOSS] Install more networking tools..."
2024-10-30 15:15:38 -05:00
brew install cloudflared miniupnpc
brew install --cask cyberduck
2024-11-02 16:53:17 -05:00
brew install --cask lagrange
2024-11-09 12:59:03 -06:00
brew install --cask twingate
2024-10-30 15:15:38 -05:00
# More common settings...
echo "[DSMOSS] Run the more common settings script..."
2024-10-30 15:15:38 -05:00
chmod +x "more-common-settings.sh"
2024-11-02 13:58:15 -05:00
./more-common-settings.sh
# Install Parsec
echo "[DSMOSS] Install Parsec..."
brew install --cask parsec