diff --git a/CHANGELOG.md b/CHANGELOG.md index 51eb3aab..483459af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## Server Version 4.7.3 (08.02.26): +### Codename: Winter Bock + +### Fixes: +- create autostart file and not a folder if file does not exists for chromium or firefox autostart + +## Server Version 4.7.2 (06.02.26): +### Codename: Winter Bock + +### Maintenance: +- update requirements + +### Fixes: +- adapt autostart delay for mqtt connectivity +- fix onewire setup vie cli +- fix github workflow (add setuptools) + +### Features: +- Add firefox autostart command for trixie + ## Server Version 4.7.1 (06.01.25): ### Maintenance: diff --git a/cbpi/__init__.py b/cbpi/__init__.py index 4838149b..f70c60da 100644 --- a/cbpi/__init__.py +++ b/cbpi/__init__.py @@ -1,2 +1,2 @@ -__version__ = "4.7.2" +__version__ = "4.7.3" __codename__ = "Winter Bock" diff --git a/cbpi/cli.py b/cbpi/cli.py index ff5e5c69..674fb4ea 100644 --- a/cbpi/cli.py +++ b/cbpi/cli.py @@ -356,7 +356,7 @@ def firefox(self, name): command='bash -c "sleep 20 && firefox --url http://localhost:8000 & wlrctl toplevel waitfor firefox && wlrctl window focus firefox && wtype -P F11 -p F11"' try: if os.path.exists(file) is False: - pathlib.Path(file).mkdir(parents=True, exist_ok=True) + Path(file).parent.mkdir(parents=True, exist_ok=True) with open(file, "a") as f: f.write(command) print("Added firefox to labwc autostart") @@ -525,7 +525,7 @@ def chromium(self, name, width=None, height=None): command='chromium = /usr/bin/chromium --start-maximized --start-fullscreen --password-store=basic --app=http://localhost:8000' try: if os.path.exists(file) is False: - pathlib.Path(file).mkdir(parents=True, exist_ok=True) + Path(file).parent.mkdir(parents=True, exist_ok=True) with open(file, "a") as f: f.write(command) print("Added chromium to labwc autostart")