Pathoschild / SMAPI

The modding API for Stardew Valley.
https://smapi.io/
GNU Lesser General Public License v3.0
1.71k stars 258 forks source link

Adding gamemoderun to unix launch script #952

Closed noah1510 closed 1 day ago

noah1510 commented 1 month ago

This is the first part of adding gamemode support (#950). This PR adds gamemoderun to the unix launch script. I used the modified script on my laptop (AMD Ryzen 7 3700U, Kubuntu 23.10) for at least 30 hours of gameplay and never encountered any issues. There is already a fallback in case gamemode is not installed on the system. It should work just fine, but i only tested it by negating the if operation not on a system without gamemode.

The second part would be adding a default config file, which is not part of this PR.

Pathoschild commented 1 day ago

Merged into develop for the upcoming SMAPI 4.1.0. Thanks for the help!