Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cbpi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "4.7.2"
__version__ = "4.7.3"
__codename__ = "Winter Bock"
4 changes: 2 additions & 2 deletions cbpi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down