Skip to content

Auto close epic games - #748

Open
lexarvn wants to merge 2 commits into
SteamGridDB:masterfrom
lexarvn:epic-auto-close
Open

lexarvn wants to merge 2 commits into
SteamGridDB:masterfrom
lexarvn:epic-auto-close

Conversation

@lexarvn

@lexarvn lexarvn commented May 13, 2025

Copy link
Copy Markdown
Contributor

@lexarvn

lexarvn commented May 13, 2025 •

Copy link
Copy Markdown
Contributor Author

Side note, but I doubt that the current launch options for epic work on mac, and I didn't try to fix them

}

# Give Epic Games Launcher a few seconds before closing
Start-Sleep -Seconds 10

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2s worked for me as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only put 10s because sometimes saves take a bit to sync to the cloud. If it weren't for that, it could be really short I think. Might be worth making it configurable incase you don't care about syncing saves to the cloud

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this would break the epic parser on OS X as it currently stands; it will have to be updated to use the previous handling or have a separate shell script for os x.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I was afraid of but couldn't test. I'll probably see about falling back to not using the script on non-windows computers as I don't have an OS X machine to test on currently

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbartondock I put in a check so that it fallbacks to the original launchOptions when not windows. I also ended up making changes to the powershell file itself so that it closes everything properly if you close the game from steam

…game closes

- Start a model for epic games manifests
@lexarvn
lexarvn force-pushed the epic-auto-close branch 2 times, most recently from ddbb65a to 7ab4201 Compare September 19, 2026 08:46
- rework epic powershell script to close the game if steam closes the script

This branch has not been deployed

No deployments
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.

3 participants