Solved bug with no existing ./autodesk_fusion_launcher.sh file

This commit is contained in:
cryinkfly
2024-08-09 17:01:37 +02:00
parent 1ceea81008
commit 580142ff30

View File

@@ -7,7 +7,7 @@
# Author URI: https://cryinkfly.com #
# License: MIT #
# Copyright (c) 2020-2024 #
# Time/Date: 07:20/09.08.2024 #
# Time/Date: 17:00/09.08.2024 #
# Version: 2.0.0-Alpha #
####################################################################################################
@@ -733,7 +733,7 @@ EOL
sed -i 's/=env WINEPREFIX=/=env WINEDEBUG=-all env WINEPREFIX=/g' "$HOME/.local/share/applications/wine/Programs/Autodesk/Autodesk Fusion.desktop"
# Download some script files for Autodesk Fusion 360!
curl -L https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/setup/data/autodesk_fusion_launcher.sh -o "$SELECTED_DIRECTORY/bin"
curl -L https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/setup/data/autodesk_fusion_launcher.sh -o "$SELECTED_DIRECTORY/bin/autodesk_fusion_launcher.sh"
chmod +x "$SELECTED_DIRECTORY/bin/autodesk_fusion_launcher.sh"
}