self.wiimoteSupport = wiimoteSupport
self.fullscreen = fullscreen
LaunchScreen()
- themedir = __file__.split(os.path.sep)[:-1] + ['widgets', 'data', 'minwii_theme']
- themedir = os.path.sep.join(themedir)
+ themedir = os.path.join(os.path.dirname(__file__), 'widgets', 'data', 'minwii_theme')
theme = Theme(themedir)
self.app = Desktop(theme=theme)
self.synth = Synth(driver=audioDriver)