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

add the ability to run from steam #6

Open
WoozyMasta opened this issue Oct 11, 2022 · 0 comments
Open

add the ability to run from steam #6

WoozyMasta opened this issue Oct 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request TODO

Comments

@WoozyMasta
Copy link
Owner

Redefine the launch command in steam to dayz-ctl %command% and catch the launch state, exclude self-retraction

if [ "${2:-}" = SteamLaunch ] && [ "${3:-}" = "AppId=$DAYZ_GAME_ID" ]; then
  # xterm or https://github.com/i3/i3/blob/next/i3-sensible-terminal
  exec xterm -e dayz-ctl -T 'DayZ CTL Launcher'
fi
@WoozyMasta WoozyMasta self-assigned this Oct 11, 2022
@WoozyMasta WoozyMasta added enhancement New feature or request TODO labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TODO
Projects
None yet
Development

No branches or pull requests

1 participant