-
Notifications
You must be signed in to change notification settings - Fork 481
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
Plugins stored in userData directory can't access static resources #1135
Comments
Notes: We force the plugins to use the exe directory if they don't inline the directory: https://github.com/camunda/camunda-modeler/blob/master/app/lib/index.js#L57 Consider adding custom protocol for the plugins to access plugin directory. Use https://electronjs.org/docs/api/web-request for that. |
Affects any OS, as long as the plug-in is stored in the userData directory (the only way to store plug-ins on MacOS; no workaround exists on that platform). I updated the issue accordingly. |
Resolve plug-in assets requested via a logical name app-plugins://${name}${assetPath} using the appropriate actual plug-in base. Closes #1135
Resolve plug-in assets requested via a logical name app-plugins://${name}${assetPath} using the appropriate actual plug-in base. Closes #1135
Resolve plug-in assets requested via a logical name app-plugins://${name}${assetPath} using the appropriate actual plug-in base. Closes #1135
Resolve plug-in assets requested via a logical name app-plugins://${name}${assetPath} using the appropriate actual plug-in base. Closes #1135
Resolve plug-in assets requested via a logical name app-plugins://${name}${assetPath} using the appropriate actual plug-in base. Closes #1135
Describe the Bug
Failed to load resource: net::ERR_FILE_NOT_FOUND
error thrown even though logo is in the plugin directory.Steps to Reproduce
Steps to reproduce the behavior:
${userData}/plugins
Expected Behavior
No error and image attached.
Environment
Please complete the following information:
Solution Approach
Based on this comment, the following sketches the solution to this problem:
foobar://${pluginName}/${nameOfResource}
file://...
urlThe text was updated successfully, but these errors were encountered: