diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-09-27 15:22:12 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-09-27 15:22:12 -0700 |
commit | f72f3fbeecabadd966e54f4d347fad5d5141c2c7 (patch) | |
tree | 1a5c3982252751c89247592e93b69ab8a6c9a14e /lstwitch.rb | |
parent | 8d38b2617412e39730bce0b1b99b8d9a0ee79545 (diff) | |
download | twitchtools-f72f3fbeecabadd966e54f4d347fad5d5141c2c7.tar.gz twitchtools-f72f3fbeecabadd966e54f4d347fad5d5141c2c7.zip |
lstwitch: add pubg alias
Diffstat (limited to 'lstwitch.rb')
-rwxr-xr-x | lstwitch.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lstwitch.rb b/lstwitch.rb index 8c7b4a2..be3d233 100755 --- a/lstwitch.rb +++ b/lstwitch.rb @@ -10,6 +10,9 @@ unless ARGV.empty? if ARGV[0] == 'APB' or ARGV[0] == 'apb' game = "&game=APB%20Reloaded" end + if ARGV[0] == 'PUBG' or ARGV[0] == 'pubg' + game = "&game=#{URI.escape("PLAYERUNKNOWN'S BATTLEGROUNDS")}" + end end confdir = Dir.home + '/.config/twitch/' |