pygame-dvd/dvd_bounce/__main__.py

14 lines
316 B
Python
Raw Normal View History

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