mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:31:59 +00:00
fix: don't pass unzip job to event loop (#136)
For some reason this broke installation of plugins when another specific plugin was present (vibrantDeck)
This commit is contained in:
+1
-7
@@ -97,13 +97,7 @@ class PluginBrowser:
|
|||||||
res_zip = BytesIO(data)
|
res_zip = BytesIO(data)
|
||||||
with ProcessPoolExecutor() as executor:
|
with ProcessPoolExecutor() as executor:
|
||||||
logger.debug("Unzipping...")
|
logger.debug("Unzipping...")
|
||||||
ret = await get_event_loop().run_in_executor(
|
ret = self._unzip_to_plugin_dir(res_zip, name, hash)
|
||||||
executor,
|
|
||||||
self._unzip_to_plugin_dir,
|
|
||||||
res_zip,
|
|
||||||
name,
|
|
||||||
hash
|
|
||||||
)
|
|
||||||
if ret:
|
if ret:
|
||||||
logger.info(f"Installed {name} (Version: {version})")
|
logger.info(f"Installed {name} (Version: {version})")
|
||||||
await inject_to_tab("SP", "window.syncDeckyPlugins()")
|
await inject_to_tab("SP", "window.syncDeckyPlugins()")
|
||||||
|
|||||||
Reference in New Issue
Block a user