1 from ya2
.utils
.log
import LogMgrBase
2 LogMgrBase
.pre_init_logging()
4 from ya2
.p3d
.gfx
import P3dGfxMgr
5 if '--version' in argv
: P3dGfxMgr
.no_window()
6 from os
.path
import exists
7 from p3d_appimage
import AppImageBuilder
8 from pmachines
.app
import Pmachines
15 self
.__pmachines
= Pmachines()
16 self
.__appimage
_builder
= AppImageBuilder(None, 'pmachines')
19 if self
.__pmachines
.is_update_run
: self
.__appimage
_builder
.update()
20 elif not self
.__pmachines
.is_version_run
: self
.__run
_game
()
23 try: self
.__pmachines
.run()
24 except Exception: traceback
.print_exc()
27 if __name__
== '__main__' or exists('main.pyo'):