Merge pull request #331 from alextrical/SSO_Fix

SSO login fix post April update with the help of my COMMUNITY <3
This commit is contained in:
Steve Zabka
2023-05-31 17:30:37 +02:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

View File

@@ -7,8 +7,8 @@
# Author URI: https://cryinkfly.com #
# License: MIT #
# Copyright (c) 2020-2023 #
# Time/Date: 07:40/05.05.2023 #
# Version: 1.8.8 #
# Time/Date: 17:20/31.05.2023 #
# Version: 1.8.9 #
####################################################################################################
# Path: /$HOME/.fusion360/bin/install.sh
@@ -281,7 +281,7 @@ function SP_FUSION360_INSTALLER_LOAD {
echo "The Autodesk Fusion 360 installer exist!"
else
echo "The Autodesk Fusion 360 installer doesn't exist and will be downloaded for you!"
wget -T 15 -t 0 -N -c 'https://web.archive.org/web/20230317210714id_/https://dl.appstreaming.autodesk.com/production/installers/Fusion 360 Admin Install.exe' -O Fusion360installer.exe
wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O Fusion360installer.exe
mv "Fusion360installer.exe" "$SP_PATH/downloads/Fusion360installer.exe"
fi
}
@@ -327,7 +327,7 @@ Path=$WP_DIRECTORY
EOF
# Create a .desktop file (uninstall.sh) for Autodesk Fusion 360!
wget -N -P "$SP_PATH/graphics" https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/fusion360-uninstall.svg
wget -N -P "$SP_PATH/graphics" https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/fusion360.svg
cat >> "$HOME/.local/share/applications/wine/Programs/Autodesk/Fusion360/$WP_TYPE/fusion360uninstall.desktop" << EOF
[Desktop Entry]
Name=Autodesk Fusion 360 (Uninstall) - $WP_TYPE
@@ -352,7 +352,7 @@ Exec=bash ./uninstall.sh
Type=Application
Categories=Education;Engineering;
StartupNotify=true
Icon=$SP_PATH/graphics/fusion360-uninstall.svg
Icon=$SP_PATH/graphics/fusion360.svg
Terminal=false
Path=$SP_PATH/bin
EOF

View File

@@ -58,7 +58,7 @@ function LAUNCHER_CHECK_UPDATE_VERSION {
# You must change the first part ($HOME/.wineprefixes/fusion360) and the last part (WINEPREFIX="$HOME/.wineprefixes/fusion360") when you have installed Autodesk Fusion 360 into another directory!
function LAUNCHER_RUN_FUSION360 {
LAUNCHER="$(find "$WP_BOX" -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/')" && WINEPREFIX="$WP_BOX" wine "$LAUNCHER"
LAUNCHER="$(find "$WP_BOX" -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/')" && WINEPREFIX="$WP_BOX" FUSION_IDSDK=false WINEDEBUG=-all wine "$LAUNCHER"
}
###############################################################################################################################################################