Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[748] Allow Custom Plugins Directory #2267

Merged
merged 6 commits into from
Jul 22, 2024

Conversation

Rixxan
Copy link
Contributor

@Rixxan Rixxan commented Jun 25, 2024

Description

This PR enables the ability for users to customize their plugin directory away from the default directory's "plugins" folder. This allows users to swap between multiple different plugin "profiles". This does require a restart, so also adds an ability for EDMC to forcefully shut down and restart itself.

Additionally, this updates the post_args callback to not force the settings window to be half-rendered during the callback. This is done by performing two callback operations at various stages with different payloads. While this is slightly duplicative, the impact is negligible. The loading of the Windows config also happens sooner in the program start-up, simply to allow the config to load the new customizable location sooner. This key is created at runtime if it does not exist.

Images

image

Type of Change

Enhancement

How Tested

Tested with various builds and configuration points on Windows builds. Linux has not yet been tested.

Notes

Resolves #748

@Rixxan Rixxan added enhancement Plugins Anything related to plugins Ready for Review PRs ready for review and merge labels Jun 25, 2024
@Rixxan Rixxan added this to the 5.12 milestone Jun 25, 2024
@Rixxan Rixxan requested a review from C1701D June 25, 2024 16:08
@Rixxan Rixxan self-assigned this Jun 25, 2024
@Rixxan Rixxan linked an issue Jun 25, 2024 that may be closed by this pull request
@Rixxan Rixxan merged commit 9ddf7aa into EDCD:develop Jul 22, 2024
3 checks passed
@Rixxan Rixxan deleted the enhancement/748/change-plugin-dir branch July 22, 2024 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Plugins Anything related to plugins Ready for Review PRs ready for review and merge
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Add ability to change 'found' plugins folder.
1 participant