Skip to content

Download & Install from plugins browser#2671

Open
Niceygy wants to merge 3 commits into
EDCD:mainfrom
Niceygy:main
Open

Download & Install from plugins browser#2671
Niceygy wants to merge 3 commits into
EDCD:mainfrom
Niceygy:main

Conversation

@Niceygy
Copy link
Copy Markdown

@Niceygy Niceygy commented Jun 1, 2026

Added dev_install_plugin in plugin_browser.py, that downloads the .ZIP file provided by the plugin registry to the user plugins folder.
Still needs a few things tweaking (I think you have a standard requests object? and more user visible logging would be good) but this is just a first past.

@Niceygy Niceygy changed the title Add download part of plugin installer Download & Install from plugins browser Jun 1, 2026
@Niceygy
Copy link
Copy Markdown
Author

Niceygy commented Jun 2, 2026

Update: uses shutil.unpack_archive to extract the archive to a subfolder in the plugins directory names after the plugin's pluginName. I do wonder if some plugins will have a trouble if an extra folder is in the ZIP file?

@Niceygy
Copy link
Copy Markdown
Author

Niceygy commented Jun 2, 2026

Also, is there an EDMC internal error handler? At the moment I'm just throwing an exception but thought you might have a more elegant solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant