diff --git a/README-cs_CZ.md b/README-cs_CZ.md index a28c0db..f5780b5 100644 --- a/README-cs_CZ.md +++ b/README-cs_CZ.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-de_DE.md b/README-de_DE.md index 65e7376..ecc82dd 100644 --- a/README-de_DE.md +++ b/README-de_DE.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-es_ES.md b/README-es_ES.md index 9cfa8fa..8c5ab88 100644 --- a/README-es_ES.md +++ b/README-es_ES.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-fr_FR.md b/README-fr_FR.md index 72b8c61..abab815 100644 --- a/README-fr_FR.md +++ b/README-fr_FR.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-it_IT.md b/README-it_IT.md index 47dcefc..5b2637b 100644 --- a/README-it_IT.md +++ b/README-it_IT.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-ja_JP.md b/README-ja_JP.md index 218d17c..7ccf2c7 100644 --- a/README-ja_JP.md +++ b/README-ja_JP.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-ko_KR.md b/README-ko_KR.md index f7f14cc..540f521 100644 --- a/README-ko_KR.md +++ b/README-ko_KR.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-ru_RU.md b/README-ru_RU.md index 177ddcf..091ff60 100644 --- a/README-ru_RU.md +++ b/README-ru_RU.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README-zh_CN.md b/README-zh_CN.md index b85f821..cb96c34 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/README.md b/README.md index ae16348..04c6902 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@
- +
+ +

diff --git a/files/builds/stable-branch/bin/install.sh b/files/builds/stable-branch/bin/install.sh index a7aaa00..ee3d8d8 100644 --- a/files/builds/stable-branch/bin/install.sh +++ b/files/builds/stable-branch/bin/install.sh @@ -7,8 +7,8 @@ # Author URI: https://cryinkfly.com # # License: MIT # # Copyright (c) 2020-2024 # -# Time/Date: 16:00/05.05.2024 # -# Version: 1.9.8 # +# Time/Date: 01:30/02.06.2024 # +# Version: 1.9.9 # #################################################################################################### # Path: /$HOME/.fusion360/bin/install.sh @@ -338,6 +338,17 @@ function SP_WEBVIEW2_INSTALLER_LOAD { # ALL FUNCTIONS FOR DESKTOP-FILES START HERE: # ############################################################################################################################################################### +# Helper function for the following function. The AdskIdentityManager.exe can be installed +# into a variable alphanumeric folder. +# This function finds that folder alphanumeric folder name. +function SP_DETERMINE_VARIABLE_FOLDER_NAME_FOR_IDENTITY_MANAGER { + echo "Searching for the variable location of the Fusion 360 identity manager..." + IDENT_MAN_PATH=$(find "$WP_DIRECTORY" -name 'AdskIdentityManager.exe') + # Get the dirname of the identity manager's alphanumeric folder. + # With the full path of the identity manager, go 2 folders up and isolate the folder name. + IDENT_MAN_VARIABLE_DIRECTORY=$(basename "$(dirname "$(dirname "$IDENT_MAN_PATH")")") +} + # Load the icons and .desktop-files: function SP_FUSION360_SHORTCUTS_LOAD { # Create a .desktop file (launcher.sh) for Autodesk Fusion 360! @@ -405,12 +416,15 @@ Terminal=false Path=$SP_PATH/bin EOF + # Execute function + SP_DETERMINE_VARIABLE_FOLDER_NAME_FOR_IDENTITY_MANAGER + #Create mimetype link to handle web login call backs to the Identity Manager cat > $HOME/.local/share/applications/adskidmgr-opener.desktop << EOL [Desktop Entry] Type=Application Name=adskidmgr Scheme Handler -Exec=env WINEPREFIX="$WP_DIRECTORY" wine "C:\Program Files\Autodesk\webdeploy\production\99249ee497b13684a43f5bacd5f1f09974049c6b\Autodesk Identity Manager\AdskIdentityManager.exe" %u +Exec=env WINEPREFIX="$WP_DIRECTORY" wine "C:\Program Files\Autodesk\webdeploy\production\\$IDENT_MAN_VARIABLE_DIRECTORY\Autodesk Identity Manager\AdskIdentityManager.exe" %u StartupNotify=false MimeType=x-scheme-handler/adskidmgr; EOL