diff --git a/engines/unreal-gold-64/assets/setup-gold.sh b/engines/unreal-gold-64/assets/setup-gold.sh new file mode 100755 index 00000000..dfb0aae5 --- /dev/null +++ b/engines/unreal-gold-64/assets/setup-gold.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +cd ../ + +# Define the directories +DIRS=("System" "System64") + +# Loop through each directory +for DIR in "${DIRS[@]}"; do + if [ -d "$DIR" ]; then + echo "Deleting *.int files in $DIR..." + find "$DIR" -type f -name "*.int" -exec rm -f {} \; + else + echo "Directory $DIR does not exist. Skipping..." + fi +done + +echo "Operation completed." diff --git a/engines/unreal-gold/assets/setup-gold.sh b/engines/unreal-gold/assets/setup-gold.sh new file mode 100755 index 00000000..dfb0aae5 --- /dev/null +++ b/engines/unreal-gold/assets/setup-gold.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +cd ../ + +# Define the directories +DIRS=("System" "System64") + +# Loop through each directory +for DIR in "${DIRS[@]}"; do + if [ -d "$DIR" ]; then + echo "Deleting *.int files in $DIR..." + find "$DIR" -type f -name "*.int" -exec rm -f {} \; + else + echo "Directory $DIR does not exist. Skipping..." + fi +done + +echo "Operation completed." diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index dbad0bd0..6142050c 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -5668,6 +5668,11 @@ "file": "OldUnreal-UnrealPatch227k-Linux.tar.bz2" } ], + "setup": { + "complete_path": "../ready-gold", + "command": "./setup-gold.sh", + "license_path": "../Help/ReadMe.txt" + }, "choices": [ { "name": "Unreal Gold (32-bit)",