From 0ba17d293ac866004941b0eb1d8868eee36db494 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Wed, 20 Nov 2024 20:59:51 -0500 Subject: [PATCH] need better behavior in picking photo dirs mushing this into better shape gradually. switched f76 to linux from windows once saw that i could, so now the save dir is different. could use new save dir as a standard! it makes more sense to link directly to photos, than to have to both link to a folder and then find the photos. --- scripts/customize/fred/scripts/games/save_f76_pics.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/customize/fred/scripts/games/save_f76_pics.sh b/scripts/customize/fred/scripts/games/save_f76_pics.sh index d96897df..5a5ba846 100644 --- a/scripts/customize/fred/scripts/games/save_f76_pics.sh +++ b/scripts/customize/fred/scripts/games/save_f76_pics.sh @@ -19,6 +19,9 @@ if [[ "$source_host" =~ clemens* ]]; then elif [[ "$source_host" =~ orpheus* ]]; then character="spoonburg_pc" identity="8f99c06443f04f6f8270604369bb78eb" +elif [[ "$source_host" =~ cuboid* ]]; then + character="spoonburg_pc" + identity="8f99c06443f04f6f8270604369bb78eb" else echo " Could not determine the proper character name for the fallout 76 images based @@ -29,7 +32,11 @@ to this script? exit 1 fi -src_dir="$HOME/data/wind_goods/My Games/Fallout 76/Photos/${identity}" +if [ "$OS" != "Windows_NT" ]; then + src_dir="$HOME/data/photos_fallout76/${identity}" +else + src_dir="$HOME/data/wind_goods/My Games/Fallout 76/Photos/${identity}" +fi dest_dir="fred@${DESTINATION_HOST}:/z/walrus/media/pictures/metaverse/fallout_76/${character}" echo "src is: '$src_dir'" -- 2.34.1