summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorPartyWumpus <48649272+PartyWumpus@users.noreply.github.com>2024-09-27 17:05:12 +0100
committerPartyWumpus <48649272+PartyWumpus@users.noreply.github.com>2024-09-27 17:05:12 +0100
commita2de28e318580da6bb39fc297f3b1cdc68f7407b (patch)
tree18636dbfd63102cf17a69182d327b112fa7e246c /main.py
parentdf346147b0ba688bafa28b6b36744b04572bf5ee (diff)
parentd69496d4adc30597bef8fdec377fd280ac9f1a00 (diff)
downloaddecky-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.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.py b/main.py
index b177c84..17f1b15 100644
--- a/main.py
+++ b/main.py
@@ -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