From 8fc54f1fea6bd626d82b666e0b62eb4678d2e9e3 Mon Sep 17 00:00:00 2001 From: mactan Date: Thu, 15 Aug 2024 22:41:54 -0500 Subject: [PATCH] shaders_dir --- lug-helper.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 7bc0cda..93b1970 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -691,8 +691,9 @@ getdirs() { fi # The location within the USER directory to which the game exports keybinds keybinds_dir="$user_dir/Controls/Mappings" - - # Custom Characters + # Shaders + shaders_dir="$wine_prefix/$appdata_path" + # Custom characters custom_characters_dir="$user_dir/CustomCharacters" # dxvk cache file dxvk_cache="$game_path/$game_version/StarCitizen.dxvk-cache" @@ -2118,7 +2119,7 @@ rm_shaders() { fi # Loop through all possible shader directories - for appdata_dir in "$wine_prefix/$appdata_path"/*; do + for appdata_dir in "$shaders_dir"/*; do # Loop through the shaders subdir array for shaders_subdir in "${shaders_subdirs[@]}"; do if [ -d "$appdata_dir/$shaders_subdir" ]; then