mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Display version number of plugins in the console (#173)
* Display version number with plugins
This commit is contained in:
@@ -710,7 +710,7 @@ module PluginManager
|
|||||||
# try to run the code
|
# try to run the code
|
||||||
begin
|
begin
|
||||||
eval(code, TOPLEVEL_BINDING, fname)
|
eval(code, TOPLEVEL_BINDING, fname)
|
||||||
Console.echoln_li "Loaded plugin: '#{name}'" if !echoed_plugins.include?(name)
|
Console.echoln_li "Loaded plugin: '#{name}' (ver. #{meta[:version]})" if !echoed_plugins.include?(name)
|
||||||
echoed_plugins.push(name)
|
echoed_plugins.push(name)
|
||||||
rescue Exception # format error message to display
|
rescue Exception # format error message to display
|
||||||
self.pluginErrorMsg(name, sname)
|
self.pluginErrorMsg(name, sname)
|
||||||
|
|||||||
Reference in New Issue
Block a user