remove shader appdata dir mask sc-alpha-

This commit is contained in:
mactan 2024-08-15 18:16:16 -05:00
parent d956739d9c
commit 57f4950764

View File

@ -690,8 +690,7 @@ getdirs() {
fi fi
# The location within the USER directory to which the game exports keybinds # The location within the USER directory to which the game exports keybinds
keybinds_dir="$user_dir/Controls/Mappings" keybinds_dir="$user_dir/Controls/Mappings"
# game data mask
appdata_dir_mask="sc-alpha-*"
# Custom Characters # Custom Characters
custom_characters_dir="$user_dir/CustomCharacters" custom_characters_dir="$user_dir/CustomCharacters"
# dxvk cache file # dxvk cache file
@ -2118,7 +2117,7 @@ rm_shaders() {
fi fi
# Loop through all possible shader directories # 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 # Loop through the shaders subdir array
for shaders_subdir in "${shaders_subdirs[@]}"; do for shaders_subdir in "${shaders_subdirs[@]}"; do
if [ -d "$appdata_dir/$shaders_subdir" ]; then if [ -d "$appdata_dir/$shaders_subdir" ]; then