1 import ya2
.utils
.log
# so logging's info/debug are logged
3 from ya2
.p3d
.gfx
import P3dGfxMgr
4 if '--version' in argv
: P3dGfxMgr
.no_window()
5 from os
.path
import exists
6 from traceback
import print_exc
7 from pmachines
.app
import Pmachines
8 from p3d_appimage
import AppImageBuilder
14 self
.__pmachines
= Pmachines()
17 if self
.__pmachines
.is_update_run
: AppImageBuilder('pmachines').update()
18 elif not self
.__pmachines
.is_version_run
: self
.__run
_game
()
21 try: self
.__pmachines
.run()
22 except Exception: print_exc()
25 if __name__
== '__main__' or exists('main.pyo'):