Compare commits

..

6 Commits

Author SHA1 Message Date
7e478083e2 Fixed Setup not being a title 2026-05-19 19:23:15 +02:00
85be0b4d27 Sudod correct part of Command 2026-05-19 19:20:37 +02:00
84d612ea02 Fixed Permissions for Drive fix 2026-05-19 19:17:44 +02:00
adc80cc5d3 Added Setup Oneliner 2026-05-12 11:52:54 +02:00
a135a04652 Arch MakeMKV Installer 2026-05-12 11:50:07 +02:00
2d95828b3f Fixed Non-Interactive Installers 2026-05-10 18:54:44 +02:00
4 changed files with 19 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
# helperScripts # helperScripts
Helper Scripts for Task Automation of whatever annoys me Helper Scripts for Task Automation of whatever annoys me
# Setup
```bash
curl -fsSL https://git.scypher.org/taicrafter/helperScripts/raw/branch/main/setup.sh | bash
```

View File

@@ -1 +1,2 @@
yay yay
makemkv

View File

@@ -0,0 +1,5 @@
#!/bin/bash
yay -S makemkv
echo "Fixing Drive Permissions..."
echo sg | sudo tee /etc/modules-load.d/sg.conf
sudo modprobe sg

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
URI="https://git.scypher.org/taicrafter/helperScripts/raw/branch/main/" URI="https://git.scypher.org/taicrafter/helperScripts/raw/branch/main"
function _promptBool(){ function _promptBool(){
while true; do while true; do
read -r -p "$1 [y/n]: " res < /dev/tty read -r -p "$1 [y/n]: " res < /dev/tty
@@ -41,9 +41,11 @@ function AppInstaller(){
while IFS= read -r APPNAME; do while IFS= read -r APPNAME; do
#Handle Install #Handle Install
if _promptBool "Install $APPNAME?"; then if _promptBool "Install $APPNAME?"; then
echo "Downloading Installer: $URI/$OS_TYPE/$APPNAME.sh" SOURCE="$URI/$OS_TYPE/installers/$APPNAME.sh"
curl -fsSL "$URI/$OS_TYPE/$APPNAME.sh" -o "$TMP_FILE" echo "Downloading Installer: $SOURCE"
bash "$TMP_FILE" curl -fsSL "$SOURCE" -o "$TMP_FILE"
bash "$TMP_FILE" < /dev/tty
echo "Finished $APPNAME Installer!"
fi fi
done <<< "$APPS" done <<< "$APPS"
else else