feat: commit code
This commit is contained in:
1 parent
54dc59360e
commit
d13955e39b
1 file changed
+3
-2
+3
-2
@@ -8,8 +8,8 @@ use crate::tools::{app_path, clone_repo};
|
||||
use self::{
|
||||
interface::PluginInfo,
|
||||
interface::{
|
||||
command::PluginCommander, download::PluginDownloader, fs::PluginFileSystem,
|
||||
logger::PluginLogger,
|
||||
command::PluginCommander, dirs::PluginDirs, download::PluginDownloader,
|
||||
fs::PluginFileSystem, logger::PluginLogger,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ impl PluginManager {
|
||||
lua.globals()
|
||||
.set("PLUGIN_DOWNLOAD", PluginDownloader)
|
||||
.unwrap();
|
||||
lua.globals().set("PLUGIN_DIRS", PluginDirs).unwrap();
|
||||
|
||||
let plugin_dir = Self::init_plugin_dir();
|
||||
let mut index = 1;
|
||||
|
||||
Reference in new issue
Block a user