-
Notifications
You must be signed in to change notification settings - Fork 0
/
mstation.py
executable file
·50 lines (36 loc) · 1.06 KB
/
mstation.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
"""
/**********************************************************
Organization :AsymptopiaSoftware | Software@theLimit
Website :www.asymptopia.org
Support :www.asymptopia.org/forum
Author :Charles B. Cosse
Email :[email protected]
Copyright :(C) 2006-2015 Asymptopia Software
License :GPLv3
***********************************************************/
"""
import os,sys,string,time
sys.path.append('/usr/share/games/multiplicationstation/lib')
from MultiplicationStation.mstation import *
def usage():
msg="""
Usage: mstation [OPTION]
Available options are:
-help Show this help
-wx Enable the wx admin interface
Example:
./mstation -wx
"""
print msg
if __name__ == "__main__":
appdir='MultiplicationStation'
if len(sys.argv)==1:
x=MultiplicationStationApp()
elif sys.argv[1]=='-help':
usage()
elif sys.argv.count('-wx')>0:
from MultiplicationStation.mstation_wx import *
x=MultiplicationStationAppWX()
else:
x=MultiplicationStationApp()