-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve linux support (new launcher) #1848
base: master
Are you sure you want to change the base?
Conversation
cfb2938
to
dc11b8b
Compare
49cf07d
to
bbfcd47
Compare
With that, we present to you the Cross-Platform launcher. Have fun reviewing this 🌚 |
:soonTM: |
This reduces complexity of loading logic
This removes need of some lines in code behind of main window.
Send icon was black but should be white. Send icon was too large but should be 20x20.
The embedded server view crash happened when you send an empty command
Co-Authored-By: Meas <[email protected]>
For some reason, the ViewBox won't change its height with the itemsControl.
|
||
private static string GetIconPathForPlatform(Platform? platform) => platform switch | ||
{ | ||
Platform.EPIC => "/Assets/Images/store-icons/epic.png", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we leave hardcoded path like that, or create a static class that would aggregate them ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True it's not ideal. I think we should change it to how .notifications
style is done in MainWindow.axaml which uses conditional classes to select the icon we want.
Nitrox.Launcher/Models/Converters/DateToRelativeDateConverter.cs
Outdated
Show resolved
Hide resolved
Added command line parsing to launcher Fixed some review comments from Clement Fixed a bunch of minor things
Now also used in Program.cs for crash reporting
After2 hours of debugging, Measurity and I finally figured it out lol. It was mostly all Meas Co-Authored-By: Meas <[email protected]>
Used ProjectReference instead of build targets which allows MSBuild to reuse build cache.
dotnet build
on dotnet SDK 8+NitroxLauncher
to play Subnautica with Nitrox.NitroxLauncher
)This PR includes solution-wide changes to multi-target for .net 9 (server, launcher) and .net 4.7.2 (game client), allowing benefits of modern .net where possible.
Closes #988
Resources to assist with implementation