fixed: Fixed the issue where attempting to install the nightly version resulted in installing the latest version instead.

This commit is contained in:
Dr.Lt.Data
2025-02-26 21:50:31 +09:00
parent 5ef58652bf
commit f1b7f5f52f
3 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 27, 1]
version_code = [3, 27, 2]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')

View File

@@ -1201,7 +1201,7 @@ async def install_custom_node(request):
if cnr_id in core.unified_manager.nightly_inactive_nodes or cnr_id in core.unified_manager.cnr_inactive_nodes:
core.unified_manager.unified_enable(cnr_id)
return web.Response(status=200)
else:
elif selected_version is None:
selected_version = 'latest'
if selected_version != 'nightly':