cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.94k stars 121 forks source link

Webview2 required *Solved* #373

Closed deece closed 7 months ago

deece commented 8 months ago

Describe the bug On installing, Fusion 360 pops a dialog saying that it needs WebView2 to continue.

To Reproduce

  1. Follow the install process, default options, no extensions selected
  2. Launch Fusion 360
  3. Click "Sign In" Screenshot from 2024-01-06 09-47-38

Expected behavior The Fusion 360 login is displayed

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Download the installer from: https://developer.microsoft.com/en-us/microsoft-edge/webview2/?form=MA13LH#download

FricoRico commented 8 months ago

I was able to install WebView2 but it does not allow me to log in anyway. When logging in through Firefox, it does not redirect me back into the application. Haven't found a workaround yet.

lazytesting commented 8 months ago

I have the same problem and tried the following things so far (which did not help):

dukenukemx commented 8 months ago

Same problem here.

0BL1V10N5-PH03N1X commented 8 months ago

Same issue here, the login in web browser can be bypassed by setting fusion_idsdk=false in the fusion environment variables. instructions for setting an environment variable can be found here: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Setting-Environment-Variables-for-use-in-Fusion-360.html

AndBondStyle commented 8 months ago

I tried to set she FUSION_IDSDK variable directly in the windows cmd prompt, and somehow it worked. I think maybe @cryinkfly's launch script or wine itself doesn't set the windows env var properly.

(linux) $ WINEPREFIX="$HOME/.fusion360/wineprefixes/default" wine cmd
C:\windows> set FUSION_IDSDK=false
C:\windows> start "" "../users/Public/Desktop/Autodesk Fusion 360.lnk"
deece commented 7 months ago

I tried to set she FUSION_IDSDK variable directly in the windows cmd prompt, and somehow it worked. I think maybe @cryinkfly's launch script or wine itself doesn't set the windows env var properly.

(linux) $ WINEPREFIX="$HOME/.fusion360/wineprefixes/default" wine cmd
C:\windows> set FUSION_IDSDK=false
C:\windows> start "" "../users/Public/Desktop/Autodesk Fusion 360.lnk"

Thanks!

To set this permanently in the Wine environment, run this on the host: WINEPREFIX="$HOME/.wine" wine reg add "HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Environment" /v FUSION_IDSDK /d false /t REG_SZ