Add a warning for outdated installations

This commit is contained in:
oobabooga 2023-09-22 09:35:19 -07:00
parent 86648d4085
commit 8ab3eca9ec
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
from pathlib import Path
from modules.logging_colors import logger
if Path('../webui.py').exists():
logger.warning('\nIt looks like you are running an outdated version of '
'the one-click-installers.\n'
'Please migrate your installation following the instructions here:\n'
'https://')

View file

@ -1,6 +1,7 @@
import os
import warnings
import modules.one_click_installer_check
from modules.block_requests import OpenMonkeyPatch, RequestBlocker
from modules.logging_colors import logger