Skip to content

Load jars from plugin dir - #1759

Merged
overheadhunter merged 2 commits into
developfrom
feature/plugin-loader
Aug 24, 2021
Merged

overheadhunter merged 2 commits into
developfrom
feature/plugin-loader

Conversation

@overheadhunter

Copy link
Copy Markdown
Member

This adds a new environment property cryptomator.pluginDir, which fixes #1756.

This is the proposed default value for cryptomator.pluginDir:

OS Default Dir
Linux ~/.local/share/Cryptomator/plugins
Mac ~/Library/Application Support/Cryptomator/Cryptomator/Plugins
Windows ~/AppData/Roaming/Cryptomator/Plugins

If the property is absent or directory is missing or empty, the behaviour is unchanged.

@overheadhunter overheadhunter added this to the 1.6.0 milestone Aug 24, 2021
@overheadhunter
overheadhunter requested a review from infeo August 24, 2021 14:43
Comment thread .github/workflows/release.yml Resolved
@overheadhunter
overheadhunter merged commit e7b9f73 into develop Aug 24, 2021
@overheadhunter
overheadhunter deleted the feature/plugin-loader branch August 24, 2021 17:29
@purejava

Copy link
Copy Markdown
Contributor

I have some problems in testing, as I am on IntelliJ and ran into #1688 (comment). 🤣

Compiling and running using Maven does not work either due to the new native installers built by the GitHub workflow. At least I could not find executable code, neither in target nor in dist. Or am I missing something? 🙃

As I could not find a download link for IntelliJ EAP, I'll have to switch IDEs ... and come back.

@overheadhunter

Copy link
Copy Markdown
Member Author

@purejava No need for EAP. IntelliJ IDEA 2021.2 is now officially available.

@purejava

Copy link
Copy Markdown
Contributor

Thank you for the hint!

I tested this PR (actually I tested the develop branch that included commit aef1bf8) successfully on all three platforms: Windows, Linux and Mac. The plugin was loaded in either case.

Good work!

@infeo infeo mentioned this pull request Feb 11, 2026
2 tasks done
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.

Load plugins from external plugin directory

3 participants