def run(self):
sysstr = platform.system()
if (sysstr == "Linux") or (sysstr == "Darwin"):
itchat.auto_login(enableCmdQR=2, hotReload=True)
else:
itchat.auto_login(hotReload=True)
itchat.run(True)