diff options
| author | Victor Borges <victor1882@outlook.com> | 2025-05-03 15:19:10 -0300 |
|---|---|---|
| committer | Victor Borges <victor1882@outlook.com> | 2025-05-03 15:19:10 -0300 |
| commit | d97d5f11e7807906cff2cf41cad815fb05b0096c (patch) | |
| tree | f5782c1785fa35586be12d871cfc00a35f0569a5 /main.py | |
| parent | ba7a86099b321f378b9d18ea025af9730642d8bf (diff) | |
| download | decky-bazzite-buddy-d97d5f11e7807906cff2cf41cad815fb05b0096c.tar.gz decky-bazzite-buddy-d97d5f11e7807906cff2cf41cad815fb05b0096c.zip | |
gets the correct branch now
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +class Plugin: + # noinspection PyMethodMayBeStatic + async def get_bazzite_branch(self) -> str | None: + try: + file = open("/etc/bazzite/image_branch") + branch = file.read() + return branch + finally: + return "stable" |
