2023-10-02 06:47:28 +00:00
|
|
|
import pathlib
|
2022-06-09 11:16:10 +00:00
|
|
|
import warnings
|
2022-12-11 12:15:23 +00:00
|
|
|
|
2023-07-29 16:50:21 +00:00
|
|
|
import settings
|
|
|
|
|
|
|
|
warnings.simplefilter("always")
|
2024-11-13 18:04:31 +00:00
|
|
|
warnings.filterwarnings(action="ignore", category=DeprecationWarning, module="s2clientprotocol")
|
2023-07-29 16:50:21 +00:00
|
|
|
settings.no_gui = True
|
|
|
|
settings.skip_autosave = True
|
2023-10-02 06:47:28 +00:00
|
|
|
|
|
|
|
import ModuleUpdate
|
|
|
|
|
|
|
|
ModuleUpdate.update_ran = True # don't upgrade
|
|
|
|
|
|
|
|
import Utils
|
|
|
|
|
2023-10-03 07:47:22 +00:00
|
|
|
file_path = pathlib.Path(__file__).parent.parent
|
|
|
|
Utils.local_path.cached_path = file_path
|
2023-10-02 06:47:28 +00:00
|
|
|
Utils.user_path() # initialize cached_path
|