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

Fix crash issue on Linux for games using platform: other #1630

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jimj316
Copy link

@jimj316 jimj316 commented Feb 1, 2025

Disclaimer: I'm not a TypeScript main, but I think I've found a fix for the crash issue in the following reports: #1577, #1458.

Basically what's going on is that the moveToNextScreen() function assumes that if a game is on Linux, then the GameDirectoryResolver for it will have Linux-specific functions available (isProtonGame and getLaunchArgs), but this isn't the case for DRMFreeDirectoryResolver, which is what is used if the platform is set to OTHER. I've worked around this by simply bypassing whatever's happening in Splash.vue. This seems to let r2modman boot up okay, although I have no idea what this code is supposed to be doing, so I've set this to draft for now so someone can take a look at it.

@CLAassistant
Copy link

CLAassistant commented Feb 1, 2025

CLA assistant check
All committers have signed the CLA.

@jimj316 jimj316 marked this pull request as ready for review February 11, 2025 01:05
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.

2 participants