add osd message and use keybind in config file
This commit is contained in:
@ -98,6 +98,7 @@ end
|
|||||||
-- start install
|
-- start install
|
||||||
local function startinstall()
|
local function startinstall()
|
||||||
logwrite('Starting Download...')
|
logwrite('Starting Download...')
|
||||||
|
mp.osd_message('Downloading plugins!')
|
||||||
for i = 1, tablelength(plugins) do
|
for i = 1, tablelength(plugins) do
|
||||||
-- check if the user has defined a file for the current plugin
|
-- check if the user has defined a file for the current plugin
|
||||||
if not plugins[i]['file'] then
|
if not plugins[i]['file'] then
|
||||||
@ -177,4 +178,4 @@ os.remove(fn)
|
|||||||
closelog()
|
closelog()
|
||||||
|
|
||||||
runopts()
|
runopts()
|
||||||
mp.add_key_binding('U', 'UpdatePlugins', initupdate)
|
mp.add_key_binding(opts.bind, 'UpdatePlugins', initupdate)
|
||||||
|
Reference in New Issue
Block a user