Skip to content

Commit

Permalink
Merge pull request #24 from martmists/master
Browse files Browse the repository at this point in the history
Auto-open RL, Nice animation for votes
  • Loading branch information
IamEld3st authored Mar 13, 2019
2 parents ff86164 + ccfbde3 commit 286a776
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 215 deletions.
4 changes: 4 additions & 0 deletions rlbot_gui/gui.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import webbrowser

import eel
from PyQt5.QtCore import QSettings
Expand Down Expand Up @@ -26,6 +27,7 @@

game_tick_packet = None


class GameTickReader:
def __init__(self):
self.logger = get_logger('packet reader')
Expand Down Expand Up @@ -235,6 +237,8 @@ def is_chrome_installed():


def start():
webbrowser.open("steam://rungameid/252950//-rlbot") # Open rocket league if not already opened

gui_folder = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'gui')
eel.init(gui_folder)

Expand Down
Loading

0 comments on commit 286a776

Please sign in to comment.