From f724335b913bb344e7ec0e523f096191412a28df Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Thu, 23 Aug 2018 12:50:50 -0400 Subject: [PATCH] fixed buy on windows where preferences wee not getting saved --- tools/script_manager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/script_manager.lua b/tools/script_manager.lua index 84b65be..c61996f 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -195,7 +195,7 @@ local function add_script_data(script_file) if name then if not string.match(du.join(sm.script_names[category], " "), name) then sm.script_names[category][#sm.script_names[category] + 1] = name - sm.script_paths[category .. PS .. name] = category .. PS .. path .. name + sm.script_paths[category .. "/" .. name] = category .. "/" .. path .. name if category == "downloads" then sm.have_downloads = true end @@ -293,7 +293,7 @@ local function create_enable_disable_button(btext, sname, req) scat = scatn end end - local starget = du.join({scat, target}, PS) + local starget = du.join({scat, target}, "/") if action == "Enable" then local status = activate(starget, target) if status then