mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 04:51:58 +00:00
Root plugins (#35)
* root plugins plugins can now specify if they want their methods to be ran as root. this is done via the multiprocess module. method calls are delegated to a separate process that is then down-privileged by default to user 1000, so the loader can safely be ran as root except it isn't really safe because the plugin is imported as root anyway * working implementation - follows the new plugin format with the plugin.json file - plugins are loaded in their own isolated process along with their own event loop and unix socket server for calling methods - private methods are now prepended with _ instead of __ * converted format to f-strings
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
aiohttp==3.8.1
|
||||
aiohttp-jinja2==1.5.0
|
||||
watchdog==2.1.7
|
||||
watchdog==2.1.7
|
||||
multiprocess==0.70.12.2
|
||||
Reference in New Issue
Block a user