Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vortex: Remove dotnet48 installation; use Winetricks for dotnetdesktop6 #803

Merged
merged 3 commits into from May 14, 2023

Conversation

sonic2kk
Copy link
Owner

@sonic2kk sonic2kk commented May 14, 2023

Vortex 1.8.0 and above no longer require dotnet48 to install, however Vortex still requires .NET 6 or above. The manual .NET 6 installation works, but Winetricks should be able to install .NET 6 for us, so we should replace the manual code. This was not the case when this logic was written, as Winetricks could not install dotnet6 at that time.

The relevant Winetrick we want is dotnetdesktop6. I am not sure if this is available in the latest stable Winetricks, but as all users should know, an up-to-date Winetricks should always be used when tinkering. A note will be added to the Vortex wiki around this.

Currently Vortex will work with this PR, but it'll tell you that you need .NET 6 or above. It does offer a fix, and the fix will correctly install .NET 6, but I would still rather automate this step as it should be relatively cheap. Also, the .NET 6 install logic was in the startVortex section. I guess this was because it was needed after Vortex was installed and set up, but now it can probably go in the installVortex section.

This should also significantly reduce the footprint that Vortex has, down from about 3.5gb to 1.2gb on my PC. Installation also seems to be around a minute or so faster (dotnetdesktop6 installs very quickly compared to dotnet48).

Vortex 1.8.0 and above no longer require dotnet48 to install, however Vortex still requires .NET 6 or above.
The manual .NET 6 installation works, but Winetricks should be able to install .NET 6 for us, so we should
replace the manual code.
@sonic2kk sonic2kk changed the title Vortex: Remove .NET installation Vortex: Remove dotnet48 installation; use Winetricks for dotnetdesktop6 May 14, 2023
Vortex still requires dotnet6, but we can install this during installation with Winetricks
using the dotnetdesktop6 Winetrick.
@sonic2kk
Copy link
Owner Author

This appears to work for Vortex 1.8.1 and Vortex 1.8.2 Pre-Release, so this should be good to merge.

@sonic2kk sonic2kk merged commit 4197297 into master May 14, 2023
@sonic2kk sonic2kk deleted the vtx-dotnet-freedom branch May 14, 2023 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant