change version to release candidate

This commit is contained in:
avollkopf 2024-06-05 21:37:27 +02:00
parent 59be57fd75
commit 049f506089
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.4.1.a17" __version__ = "4.4.1.rc0"
__codename__ = "Yeast Starter" __codename__ = "Yeast Starter"

View file

@ -505,6 +505,13 @@ class ConfigUpdate(CBPiExtension):
await self.cbpi.config.add("current_grid", current_grid, type=ConfigType.NUMBER, description="Dashboard Grid Width",source="hidden") await self.cbpi.config.add("current_grid", current_grid, type=ConfigType.NUMBER, description="Dashboard Grid Width",source="hidden")
# Check if CustomSVG props are correct for latest functionality (Widget dependent on acxtor state -> UI >= 0.3.14.a8) # Check if CustomSVG props are correct for latest functionality (Widget dependent on acxtor state -> UI >= 0.3.14.a8)
plugin_list = await self.cbpi.plugin.load_plugin_list("cbpi4gui")
try:
version= plugin_list[0].get("Version", "not detected")
except:
version="not detected"
logging.info(f'GUI Version: {version}')
try: try:
dashboard_files=glob.glob(self.cbpi.config_folder.get_dashboard_path('cbpi_dashboard*.json')) dashboard_files=glob.glob(self.cbpi.config_folder.get_dashboard_path('cbpi_dashboard*.json'))
write=False write=False