1
0
forked from ndyer/pygame-dvd
steam-screensaver/steam_saver/__main__.py

14 lines
318 B
Python

import steam_saver
import sys
import os
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
if __name__ == '__main__':
windowed_mode = False
if len(sys.argv) > 0:
for arg in sys.argv:
if arg == '--window':
windowed_mode = True
steam_saver.main.main(windowed_mode)