@@ -10,6 +10,10 @@ from task.task import Task
from tools.log import logger
from tools.thread_pool import MyThreadPoolExecutor
from tools.utils import Utils
+# 这些库都是打包需要的
+import keyboard
+import filelock
+import cv2
def main():
@@ -0,0 +1,38 @@
+# -*- mode: python ; coding: utf-8 -*-
+
+a = Analysis(
+ ['main.py'],
+ pathex=[],
+ binaries=[],
+ datas=[],
+ hiddenimports=[],
+ hookspath=[],
+ hooksconfig={},
+ runtime_hooks=[],
+ excludes=[],
+ noarchive=False,
+ optimize=0,
+)
+pyz = PYZ(a.pure)
+exe = EXE(
+ pyz,
+ a.scripts,
+ a.binaries,
+ a.datas,
+ [],
+ name='main',
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=True,
+ upx_exclude=[],
+ runtime_tmpdir=None,
+ console=True,
+ disable_windowed_traceback=False,
+ argv_emulation=False,
+ target_arch=None,
+ codesign_identity=None,
+ entitlements_file=None,
@@ -18,7 +18,6 @@ from ctypes import OleDLL, c_void_p, byref, WINFUNCTYPE
from uuid import UUID
-
class Utils:
@staticmethod
def extract_between_strings(content, start_tag, end_tag):
@@ -47,7 +47,7 @@ class WyIP:
def set_wy_token(self):
try:
- result = requests.get('http://assist.qiming321.cn:8888/loging/getWuYToken',timeout=10)
+ result = requests.get('http://120.92.154.154:8888/loging/getWuYToken',timeout=10)
if result.status_code == 200:
data = result.json()
if data['code'] == 0: