diff options
author | John-Michael Mulesa | 2022-06-28 17:14:47 +1000 |
---|---|---|
committer | John-Michael Mulesa | 2022-06-28 17:14:47 +1000 |
commit | 2baf65aec9c8ce20f816c793a9d7b721b0b871ee (patch) | |
tree | e046fd3db6dbc8efc95e361a14f7e870fbe05b9e /ut2004.sh | |
parent | bd32d08d90ec89b7e7ffccba17d88279843be204 (diff) | |
download | aur-ut2004-gog.tar.gz |
Add cdkey to first-run setup.
Diffstat (limited to 'ut2004.sh')
-rw-r--r-- | ut2004.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ut2004.sh b/ut2004.sh index 1b7947c4abd9..16aac08f1c45 100644 --- a/ut2004.sh +++ b/ut2004.sh @@ -3,6 +3,8 @@ if [ ! -d "$HOME"/.ut2004 ] ; then mkdir -p "$HOME"/.ut2004/System cp /opt/ut2004/__support/app/System/* "$HOME"/.ut2004/System/ + grep -FB1 CDKey /opt/ut2004/goggame-1207658691.script | grep -Po '"valueData": "\K[A-Z0-9-]*(?=",)' > "$HOME"/.ut2004/System/CDkey + chmod 600 "$HOME"/.ut2004/System/CDkey fi cd /opt/ut2004/System ./ut2004-bin |