Closed Redstonerayy closed 2 years ago
i suggest you make the CurrentWorkingPath accessible in Plugins or show how it can be accessed. also i would suggest to set the working path to the homedirectory of the user at the beginning
i suggest you make the CurrentWorkingPath accessible in Plugins or show how it can be accessed. also i would suggest to set the working path to the homedirectory of the user at the beginning
Hi, I'm sorry that there currently isn't any documentary about the plugin api that would make these things more clear.
First of all, it is possible to access the current working path and it is already set to the user's home path at the beginning.
To access the current working path, you must first ensure that data
from your plugin class is set.
After that you can easily access the current working path using <YourPluginClass>.data.CurrentWorkingPath
or <YourDataClass>.CurrentWorkingPath
I hope I could help you and thank you for your interest in developing a plugin for LeoConsole!
Description
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behavior:
Version with bug
In what version do you see this issue? Current Version
Last version that worked well
Is there a version on which this did work? If yes, which one? If no or unknown, please write
Unknown/Other
Unknown/OtherAdditional Information
do you want to add anything else?