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

Improve linux support (new launcher) #1848

Open
wants to merge 606 commits into
base: master
Choose a base branch
from

Conversation

Measurity
Copy link
Collaborator

@Measurity Measurity commented Aug 23, 2022

  • Allow build to complete with dotnet build on dotnet SDK 8+
  • Alternative to NitroxLauncher to play Subnautica with Nitrox.
  • Remove original launcher project (NitroxLauncher)
  • Fix solution build errors/warnings (individual projects succeed)
  • Add instant launch to new launcher (when this PR is merged Excellently improve player movements in Cyclops #2154)
  • Design review from @zanethefox
  • MacOS support @dartasen
  • Use dark theme for pop-ups
  • Add loading indicators for IO tasks as they can take unpredictable amounts of time (e.g. anti virus interrupting file writes)
  • Add embedded server option as it was in old launcher
  • Don't show errors immediately for modals (wait for user to defocus the input)

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

@Measurity Measurity force-pushed the linux branch 2 times, most recently from cfb2938 to dc11b8b Compare October 29, 2022 23:46
@Measurity Measurity changed the title Improve linux support Improve linux support (new launcher) Nov 6, 2022
@Measurity Measurity added Area: user interface (launcher) Related to UI/UX in the launcher Type: enhancement Issue is to be solved by implementing new features labels Nov 6, 2022
@Measurity Measurity force-pushed the linux branch 2 times, most recently from 49cf07d to bbfcd47 Compare November 6, 2022 10:47
@Measurity Measurity mentioned this pull request Dec 9, 2022
@dartasen dartasen mentioned this pull request Jul 3, 2023
3 tasks
@Measurity Measurity added the Area: setup Related to installing or configuring Nitrox label Dec 26, 2023
@Measurity Measurity marked this pull request as ready for review June 21, 2024 04:47
@Measurity Measurity requested a review from zanethefox June 21, 2024 04:48
@NinjaPedroX
Copy link
Contributor

With that, we present to you the Cross-Platform launcher. Have fun reviewing this 🌚

@VazarinX
Copy link

:soonTM:

Nitrox.Launcher/AppViewLocator.cs Outdated Show resolved Hide resolved

private static string GetIconPathForPlatform(Platform? platform) => platform switch
{
Platform.EPIC => "/Assets/Images/store-icons/epic.png",
Copy link
Member

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 ?

Copy link
Collaborator Author

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/ToStringConverter.cs Outdated Show resolved Hide resolved
Nitrox.Launcher/ViewModels/ServersViewModel.cs Outdated Show resolved Hide resolved
Nitrox.Launcher/ViewModels/ServersViewModel.cs Outdated Show resolved Hide resolved
Nitrox.Launcher/Models/Design/NitroxChangelog.cs Outdated Show resolved Hide resolved
Nitrox.Launcher/Models/Utils/GameInspect.cs Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: setup Related to installing or configuring Nitrox Area: user interface (launcher) Related to UI/UX in the launcher Type: enhancement Issue is to be solved by implementing new features
Projects
None yet
7 participants