示例#1
0
 def __extract_csv(self, mdb):
     yugioh_env.execmd("mdb-export -H \"%s\" YGODATA > %s" % (mdb, self.__CSV_DATA))
     yugioh_env.execmd("mdb-export -H \"%s\" YGOEFFECT > %s" % (mdb, self.__CSV_EFFECT))
示例#2
0
 def get_version(self):
     if os.path.exists(self.__DATABASE_NAME):
         os.remove(self.__DATABASE_NAME)
     yugioh_env.execmd("adb pull /sdcard/.yugioh/yugioh.db ./")
     if os.path.exists(self.__DATABASE_NAME):
         print("current version: %s" % (self.__get_version()))
示例#3
0
 def get_version(self):
     if os.path.exists(self.__DATABASE_NAME):
         os.remove(self.__DATABASE_NAME)
     yugioh_env.execmd("adb pull /sdcard/.yugioh/yugioh.db ./")
     if os.path.exists(self.__DATABASE_NAME):
         print("current version: %s" % (self.__get_version()))
示例#4
0
 def __extract_csv(self, mdb):
     yugioh_env.execmd("mdb-export -H \"%s\" YGODATA > %s" %
                       (mdb, self.__CSV_DATA))
     yugioh_env.execmd("mdb-export -H \"%s\" YGOEFFECT > %s" %
                       (mdb, self.__CSV_EFFECT))