bottlesdevs / programs

Repository for programs installation
69 stars 72 forks source link

Fix Fusion360 URL #296

Closed Apfelwurm closed 7 months ago

Apfelwurm commented 7 months ago

Fix Fusion360 URL

Fixes #295

Type of change

Whas This Tested Using a Local Repository?

alextrical commented 7 months ago

Unfortunately this fix is not enough to cover the change in functionality imposed by the rebranding of the application from "Fusion 360" to "Fusion"

They removed the workaround (FUSION_IDSDK="false") for the login system that has been allowing us to use the legacy login method. To use the latest installer we need WebView2 and a "adskidmgr" mimetype handler for the call-back to AdskIdentityManager.exe

Further info/script can be found here for a system version of wine https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/381#issuecomment-1925793923

Additional changes can be found here, and also account for the rebranding and updated Icon

alextrical commented 7 months ago

Mimetype redirection is working my side 🚀 with the following script run on the host system Is it possible to script system changes to create this .desktop file and register it?

#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=flatpak run --command=bottles-cli com.usebottles.bottles run --args-replace -b "Fusion" -p "AdskIdentityManager" "%u"
StartupNotify=false
MimeType=x-scheme-handler/adskidmgr;
EOL
xdg-mime default adskidmgr-opener.desktop x-scheme-handler/adskidmgr

also is it possible to specify a Runner required, or a minimum version? We require Wine 8.14 to be able to use the patch added for this product.

OzzieOrca commented 7 months ago

Seems like this wasn't actually merged. https://github.com/bottlesdevs/dependencies/pull/220 closed this and that PR added the newly required "WebView2 Runtime" but it didn't include this url change.

https://github.com/bottlesdevs/programs/pull/297 makes this same change again.