From a18b494fa9d117c8d03f24283c4d6ff8d3a3fbb1 Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Wed, 20 Oct 2021 14:02:11 +0200 Subject: [PATCH] Update fusion360-base.sh --- .../stable-branch/bin/fusion360-base.sh | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/files/scripts/stable-branch/bin/fusion360-base.sh b/files/scripts/stable-branch/bin/fusion360-base.sh index 462b174..d6a9494 100644 --- a/files/scripts/stable-branch/bin/fusion360-base.sh +++ b/files/scripts/stable-branch/bin/fusion360-base.sh @@ -125,7 +125,7 @@ function load-fusion360-installer { # It will check whether Autodesk Fusion 360 is already installed on your system or not! function check-if-fusion360-exists { -log_path=/$HOME/.local/share/fusion360/logfiles/log-path # Search for log files indicting install +log_path="$HOME/.local/share/fusion360/logfiles/log-path" # Search for log files indicting install if [ -f "$log_path" ]; then new_modify_deinstall # Exists - Modify install else @@ -134,11 +134,11 @@ fi } function logfile-installation-standard { - echo "/$HOME/.wineprefixes/fusion360/logfiles" >> /$HOME/.local/share/fusion360/logfiles/path-log + echo "$HOME/.wineprefixes/fusion360/logfiles" >> $HOME/.local/share/fusion360/logfiles/path-log } function logfile-installation-custom { - echo "$custom_directory" >> /$HOME/.local/share/fusion360/logfiles/path-log + echo "$custom_directory" >> $HOME/.local/share/fusion360/logfiles/path-log } ############################################################################## @@ -290,20 +290,20 @@ function configure-dxvk-or-opengl-standard-1 { function configure-dxvk-or-opengl-standard-2 { if [ $driver_used -eq 2 ]; then wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml - mv DXVK.xml /$HOME/.wineprefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv DXVK.xml $HOME/.wineprefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml else wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml - mv NMachineSpecificOptions.xml /$HOME/.wineprefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv NMachineSpecificOptions.xml $HOME/.wineprefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml fi } function configure-dxvk-or-opengl-standard-3 { if [ $driver_used -eq 2 ]; then wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml - mv DXVK.xml /$HOME/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv DXVK.xml $HOME/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml else wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml - mv NMachineSpecificOptions.xml /$HOME/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv NMachineSpecificOptions.xml $HOME/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml fi } @@ -318,20 +318,20 @@ function configure-dxvk-or-opengl-custom-1 { function configure-dxvk-or-opengl-custom-2 { if [ $driver_used -eq 2 ]; then wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml - mv DXVK.xml /$custom_directory/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv DXVK.xml $custom_directory/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml else wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml - mv NMachineSpecificOptions.xml /$custom_directory/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv NMachineSpecificOptions.xml $custom_directory/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml fi } function configure-dxvk-or-opengl-custom-3 { if [ $driver_used -eq 2 ]; then wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml - mv DXVK.xml /$custom_directory/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv DXVK.xml $custom_directory/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml else wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml - mv NMachineSpecificOptions.xml /$custom_directory/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml + mv NMachineSpecificOptions.xml $custom_directory/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml fi }