Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Improved Linux SDL Installer #85

Merged
merged 10 commits into from
May 9, 2024
Merged

Improved Linux SDL Installer #85

merged 10 commits into from
May 9, 2024

Conversation

dark-steveneq
Copy link
Contributor

@dark-steveneq dark-steveneq commented May 8, 2024

This PR removes unneeded libsdl2-dev dependency for Debian-based systems along with combining aptInstall() and pacmanInstall() functions into linuxInstall() along with symlinking libSDL2.so to FreeSO's folder on Arm devices since vendored SDL2 from MacExtras is an x86_64 library.

Edit: I just realized you can probably point FreeSO to use system libraries by editing MonoGame.Framework.dll.config. I'll first check if this fix work and then I'll try the MonoGame.Framework.dll.config way.
Edit 2: The SDL2 and OpenAL installers can actually be "removed" for the Linux version since these packages can be set as dependencies which are automatically installed when installing the package.

@ItsSim
Copy link
Owner

ItsSim commented May 8, 2024

Thanks for the PR. Are you able to revert the package-lock.json changes? They seem to be causing issues with npm ci
https://github.com/ItsSim/fsolauncher/actions/runs/9000757521/job/24753354643?pr=85

@dark-steveneq
Copy link
Contributor Author

dark-steveneq commented May 8, 2024 via email

@ItsSim
Copy link
Owner

ItsSim commented May 9, 2024

There's a few issues with the formatting:
https://github.com/ItsSim/fsolauncher/actions/runs/9014343500/job/24767909469?pr=85

@dark-steveneq
Copy link
Contributor Author

I know, I'm working on it

@dark-steveneq
Copy link
Contributor Author

Alright, everything seems to work now.

God this PR is a nightmare

@ItsSim ItsSim merged commit 2020e9d into ItsSim:develop May 9, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants