FIX: no ORT update when old ver exists

Issue #187
This commit is contained in:
Gourieff 2023-11-15 13:26:59 +07:00
parent 4139d167ff
commit fda2ae3fa1
5 changed files with 6 additions and 6 deletions

4
.gitignore vendored
View File

@ -6,5 +6,5 @@ __pycache__/
.vscode/ .vscode/
example example
toDo.txt *.txt
last_device.txt !requirements.txt

View File

@ -2,7 +2,7 @@
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/> <img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
![Version](https://img.shields.io/badge/version-0.5.0_beta1-green?style=for-the-badge&labelColor=darkgreen) ![Version](https://img.shields.io/badge/version-0.5.0_beta2-green?style=for-the-badge&labelColor=darkgreen)
<a href='https://ko-fi.com/gourieff' target='_blank'><img height='33' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> <a href='https://ko-fi.com/gourieff' target='_blank'><img height='33' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

View File

@ -2,7 +2,7 @@
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/> <img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
![Version](https://img.shields.io/badge/версия-0.5.0_beta1-green?style=for-the-badge&labelColor=darkgreen) ![Version](https://img.shields.io/badge/версия-0.5.0_beta2-green?style=for-the-badge&labelColor=darkgreen)
<a href='https://ko-fi.com/gourieff' target='_blank'><img height='33' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> <a href='https://ko-fi.com/gourieff' target='_blank'><img height='33' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

View File

@ -114,7 +114,7 @@ with open(req_file) as file:
txt.write(last_device) txt.write(last_device)
if not is_installed(ort,"1.16.1",False): if not is_installed(ort,"1.16.1",False):
install_count += 1 install_count += 1
pip_install(ort) pip_install(ort, "-U")
except Exception as e: except Exception as e:
print(e) print(e)
print(f"\nERROR: Failed to install {ort} - ReActor won't start") print(f"\nERROR: Failed to install {ort} - ReActor won't start")

View File

@ -1,5 +1,5 @@
app_title = "ReActor" app_title = "ReActor"
version_flag = "v0.5.0-b1" version_flag = "v0.5.0-b2"
from scripts.reactor_logger import logger, get_Run, set_Run from scripts.reactor_logger import logger, get_Run, set_Run