diff options
| author | PartyWumpus <48649272+PartyWumpus@users.noreply.github.com> | 2024-09-27 17:05:12 +0100 |
|---|---|---|
| committer | PartyWumpus <48649272+PartyWumpus@users.noreply.github.com> | 2024-09-27 17:05:12 +0100 |
| commit | a2de28e318580da6bb39fc297f3b1cdc68f7407b (patch) | |
| tree | 18636dbfd63102cf17a69182d327b112fa7e246c /main.py | |
| parent | df346147b0ba688bafa28b6b36744b04572bf5ee (diff) | |
| parent | d69496d4adc30597bef8fdec377fd280ac9f1a00 (diff) | |
| download | decky-bazzite-buddy-a2de28e318580da6bb39fc297f3b1cdc68f7407b.tar.gz decky-bazzite-buddy-a2de28e318580da6bb39fc297f3b1cdc68f7407b.zip | |
Merge branch 'main' into aa/websockets
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -20,8 +20,15 @@ class Plugin: self.loop = asyncio.get_event_loop() decky.logger.info("Hello World!") - # Function called first during the unload process, utilize this to handle your plugin being removed + # Function called first during the unload process, utilize this to handle your plugin being stopped, but not + # completely removed async def _unload(self): + decky.logger.info("Goodnight World!") + pass + + # Function called after `_unload` during uninstall, utilize this to clean up processes and other remnants of your + # plugin that may remain on the system + async def _uninstall(self): decky.logger.info("Goodbye World!") pass |
