Sfoglia il codice sorgente

dev: automated commit - 2025-06-04 15:56:59

Mariano Z. 8 mesi fa
parent
commit
b754d49861
3 ha cambiato i file con 39 aggiunte e 3 eliminazioni
  1. 5 3
      main.go
  2. 34 0
      runs/aur
  3. 0 0
      runs/limine

+ 5 - 3
main.go

@@ -361,7 +361,11 @@ func executeScript(script Script, args []string, verbose bool) error {
 }
 
 func createNewScript(scriptName string) error {
-	if err := os.MkdirAll(config.RunsDir, 0o755); err != nil {
+	scriptPath := filepath.Join(config.RunsDir, scriptName)
+
+	dirPath := filepath.Dir(scriptPath)
+
+	if err := os.MkdirAll(dirPath, 0o755); err != nil {
 		return err
 	}
 
@@ -369,8 +373,6 @@ func createNewScript(scriptName string) error {
 		scriptName += ".sh"
 	}
 
-	scriptPath := filepath.Join(config.RunsDir, scriptName)
-
 	if _, err := os.Stat(scriptPath); err == nil {
 		return fmt.Errorf("script %s already exists", scriptName)
 	}

+ 34 - 0
runs/aur

@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+# NAME: aur script
+
+set -euo pipefail
+
+echo "Running aur.sh script..."
+
+paru -S --needed --noconfirm adwaita-dark \
+	aws-session-manager-plugin \
+	bottles \
+	bruno-bin \
+	davmail \
+	dmg2img \
+	ebgaramond-otf \
+	insomnia-bin \
+	kubefwd-bin \
+	mpvpaper \
+	ngrok \
+	openvpn3-git \
+	otf-font-awesome-5 \
+	postman-bin \
+	rofi-lbonn-wayland-git \
+	rose-pine-gtk-theme \
+	slack-desktop \
+	soapui \
+	sublime-merge \
+	swayfx-git \
+	teams-for-linux-bin \
+	ttf-font-awesome-5 \
+	ttf-ms-win11-auto \
+	watchman-bin \
+	yubico-authenticator-bin
+
+echo "✅ aur completed successfully"

+ 0 - 0
runs/limine.sh → runs/limine