From 57f49507643327cf44a251def723e99d67ee3933 Mon Sep 17 00:00:00 2001 From: mactan Date: Thu, 15 Aug 2024 18:16:16 -0500 Subject: [PATCH] remove shader appdata dir mask sc-alpha- --- lug-helper.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 2c4f480..0553b4a 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -690,8 +690,7 @@ getdirs() { fi # The location within the USER directory to which the game exports keybinds keybinds_dir="$user_dir/Controls/Mappings" - # game data mask - appdata_dir_mask="sc-alpha-*" + # Custom Characters custom_characters_dir="$user_dir/CustomCharacters" # dxvk cache file @@ -2118,7 +2117,7 @@ rm_shaders() { fi # Loop through all possible shader directories - for appdata_dir in "$wine_prefix/$appdata_path"/$appdata_dir_mask; do + for appdata_dir in "$wine_prefix/$appdata_path"/*; do # Loop through the shaders subdir array for shaders_subdir in "${shaders_subdirs[@]}"; do if [ -d "$appdata_dir/$shaders_subdir" ]; then