pygame-dvd/dvd_bounce/__main__.py

14 lines
316 B
Python

import dvd_bounce
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
dvd_bounce.main.main(windowed_mode)