-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
[UX] Allow setting offline mode even if game does not have the metadata #3385
Conversation
} | ||
logWarning( | ||
'Offline Mode is on but the game does not allow offline mode explicitly.' | ||
) |
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.
we don't stop the launching of the game, but we still log this information cause it's important
@@ -26,17 +28,28 @@ const OfflineMode = () => { | |||
|
|||
const [offlineMode, setOfflineMode] = useSetting('offlineMode', false) | |||
|
|||
if (isDefault || !canRunOffline) { | |||
if (isDefault) { |
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.
This feature is for Epic games only, right? because GOG will work fine offline since they don't have DRM. Same for Amazon games. So we could hide it for GOG or disable it and show a information about it.
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.
I changed this to only show the option for Epic games.
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.
nice stuff
This PR fixes #3383
Some games seem to not have the
CanRunOffline
metadata but still work fine in offline mode. This PR allows users to toggle that on so they can still try to run the game.When the option is turned on and the game does not allow offline mode, this warning is displayed:
This will also solve a problem that users sometimes can't find the option and they ask over Discord. Now the option will be always there. In some cases it may not work but we have the warning to let users know it's not heroic's fault but the game not supporting offline mode.
Use the following Checklist if you have changed something on the Backend or Frontend: