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

14 lines
318 B
Python
Raw Permalink Normal View History

import steam_saver
2023-02-28 09:50:34 -05:00
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)