ModuleUpdate: add it to a few more common entry points
MinecraftClient: add requests import to requirements.txt
This commit is contained in:
parent
3d1f6d9b82
commit
f093e90c23
|
@ -6,6 +6,9 @@ import sys
|
||||||
import typing
|
import typing
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
import ModuleUpdate
|
||||||
|
ModuleUpdate.update()
|
||||||
|
|
||||||
import websockets
|
import websockets
|
||||||
|
|
||||||
import Utils
|
import Utils
|
||||||
|
|
|
@ -9,6 +9,9 @@ import sys
|
||||||
import time
|
import time
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
import ModuleUpdate
|
||||||
|
ModuleUpdate.update()
|
||||||
|
|
||||||
import factorio_rcon
|
import factorio_rcon
|
||||||
import colorama
|
import colorama
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
|
@ -20,6 +20,9 @@ from tkinter.constants import DISABLED, NORMAL
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
|
import ModuleUpdate
|
||||||
|
ModuleUpdate.update()
|
||||||
|
|
||||||
from worlds.alttp.Rom import Sprite, LocalRom, apply_rom_settings, get_base_rom_bytes
|
from worlds.alttp.Rom import Sprite, LocalRom, apply_rom_settings, get_base_rom_bytes
|
||||||
from Utils import output_path, local_path, user_path, open_file, get_cert_none_ssl_context, persistent_store, \
|
from Utils import output_path, local_path, user_path, open_file, get_cert_none_ssl_context, persistent_store, \
|
||||||
get_adjuster_settings, tkinter_center_window, init_logging
|
get_adjuster_settings, tkinter_center_window, init_logging
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import argparse
|
import argparse
|
||||||
import os, sys
|
import os
|
||||||
|
import sys
|
||||||
import re
|
import re
|
||||||
import atexit
|
import atexit
|
||||||
import shutil
|
import shutil
|
||||||
|
|
3
Patch.py
3
Patch.py
|
@ -12,6 +12,9 @@ import zipfile
|
||||||
import sys
|
import sys
|
||||||
from typing import Tuple, Optional, Dict, Any, Union, BinaryIO
|
from typing import Tuple, Optional, Dict, Any, Union, BinaryIO
|
||||||
|
|
||||||
|
import ModuleUpdate
|
||||||
|
ModuleUpdate.update()
|
||||||
|
|
||||||
import Utils
|
import Utils
|
||||||
|
|
||||||
current_patch_version = 4
|
current_patch_version = 4
|
||||||
|
|
|
@ -12,6 +12,9 @@ import logging
|
||||||
import asyncio
|
import asyncio
|
||||||
from json import loads, dumps
|
from json import loads, dumps
|
||||||
|
|
||||||
|
import ModuleUpdate
|
||||||
|
ModuleUpdate.update()
|
||||||
|
|
||||||
from Utils import init_logging
|
from Utils import init_logging
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
requests >= 2.27.1 # used by client
|
Loading…
Reference in New Issue