Skip to content

add the ability to run from steam #6

@WoozyMasta

Description

@WoozyMasta

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions