mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2026-05-18 22:50:07 +02:00
Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -15,4 +15,8 @@ class Plugin:
|
|||||||
# Asyncio-compatible long-running code, executed in a task when the plugin is loaded
|
# Asyncio-compatible long-running code, executed in a task when the plugin is loaded
|
||||||
async def _main(self):
|
async def _main(self):
|
||||||
logger.info("Hello World!")
|
logger.info("Hello World!")
|
||||||
|
|
||||||
|
# Function called first during the unload process, utilize this to handle your plugin being removed
|
||||||
|
async def _unload(self):
|
||||||
|
logger.info("Goodbye World!")
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user