From c5ea60957d33470ec505f047f372ece99fe1b446 Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Mon, 21 Feb 2022 10:25:18 +0100 Subject: [PATCH] Update install.sh --- files/builds/stable-branch/bin/install.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/files/builds/stable-branch/bin/install.sh b/files/builds/stable-branch/bin/install.sh index ffa0114..310f7bc 100644 --- a/files/builds/stable-branch/bin/install.sh +++ b/files/builds/stable-branch/bin/install.sh @@ -70,13 +70,22 @@ function setupact-check-f360 { ############################################################################################################################################################### -# Save the path of the Wineprefix and the profile-locale of Autodesk Fusion 360 into the wineprefixes.log +# Save the path of the Wineprefix and the profile-locale of Autodesk Fusion 360 function setupact-f360-wineprefixes-log { if [ $f360path_log -eq 1 ]; then - echo "Wineprefix (Path): $wineprefixname | Profile-Locale: $profile_locale" >> $HOME/.config/fusion-360/logs/wineprefixes.log + echo "Wineprefix (Path): $wineprefixname" >> $HOME/.config/fusion-360/logs/wineprefixes.log + echo "$profile_locale" > $HOME/.config/fusion-360/logs/profile-locale.log fi } +############################################################################################################################################################### + +# Create a profile-locale.log +function setupact-f360-wineprefixes-log { +if [ $profile_locale_value -eq 0 ]; then + echo "$profile_locale" >> $HOME/.config/fusion-360/logs/profile-locale.log +fi + ############################################################################################################################################################### # THE INITIALIZATION OF DEPENDENCIES STARTS HERE: # ###############################################################################################################################################################