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.79k stars 115 forks source link

Flatpak installer not funtioning on Fedora Silverblue #220

Open alextrical opened 2 years ago

alextrical commented 2 years ago

Describe the bug After installing using the file 'development-branch/flatpak/flatpak-install.sh' there is no start menu item to initiate the Fusion360 instance, and using command line to run the EXE results in a crashlog being generated.

To Reproduce Steps to reproduce the behavior:

  1. Install Fedora Silverblue & Graphics drivers if required (for Nvidia # rpm-ostree install akmod-nvidia-470xx xorg-x11-drv-nvidia-470xx-cuda)

  2. Run flatpak-install.sh in terminal (After making executable)

  3. Install Mono when prompted

  4. When terminal shows 'bash-5.1$' enter the code from the script to continue installation mkdir -p "$HOME/.wineprefixes/fusion360/INSTALLDIR/data/fusion360" cd "$HOME/.wineprefixes/fusion360/INSTALLDIR/data/fusion360" wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O Fusion360installer.exe wine Fusion360installer.exe -p deploy -g -f log.txt --quiet wine Fusion360installer.exe -p deploy -g -f log.txt --quiet

  5. Create missing directory mkdir -p "$HOME/.local/share/flatpak-wine619/default/drive_c/users/steamuser/Application Data/Autodesk/Neutron Platform/Options"

  6. create file from script cat > "$HOME/.local/share/flatpak-wine619/default/drive_c/users/steamuser/Application Data/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml" << "E" <?xml version="1.0" encoding="UTF-16" standalone="no" ?> <OptionGroups> <BootstrapOptionsGroup SchemaVersion="2" ToolTip="Special preferences that require the application to be restarted after a change." UserName="Bootstrap"> <driverOptionId ToolTip="The driver used to display the graphics" UserName="Graphics driver" Value="VirtualDeviceGLCore"/></BootstrapOptionsGroup> </OptionGroups> E

  7. Run fusion 360 with 'flatpak run org.winehq.flatpak-wine619 ~/.local/share/flatpak-wine619/default/drive_c/Program Files/Autodesk/webdeploy/production/6a0c9611291d45bb9226980209917c3d/FusionLauncher.exe'

Expected behaviour Installation to complete without intervention of injecting parts of the script when it gets stuck, or creating missing dirs. With the end result giving a short-cut in the Start menu or desktop to execute Fusion 360 from the Flatpak. Once started this should give the ability to load Fusion 360 up until the workspace.

Screenshots to come soon

Desktop:

Additional context to come soon

cryinkfly commented 2 years ago

@alextrical The variant with Flatpak will no longer be supported by me for the time being, since there were too many dependencies that would only unnecessarily hinder my work. However, it doesn't mean that I'm going to stop it completely.