From a893040988174d8bb126657c4790fa6e608ca85c Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Tue, 9 Apr 2013 17:02:49 +0200 Subject: added default command "edit", so when double clicking it won't automatically install, but open notepad. A safer option. --- win32/bin/LuaRocks.reg.template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/win32/bin/LuaRocks.reg.template b/win32/bin/LuaRocks.reg.template index 308b4fa2..82cc180f 100644 --- a/win32/bin/LuaRocks.reg.template +++ b/win32/bin/LuaRocks.reg.template @@ -25,6 +25,7 @@ Windows Registry Editor Version 5.00 @="lua.ico" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Lua.Rockspec\Shell] +@="Edit" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Lua.Rockspec\Shell\Fetch] @="Fetch and install" @@ -50,4 +51,9 @@ Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Lua.Rockspec\Shell\UninstallAll\Command] @="\"luarocksw.bat\" removeall \"%1\"" +[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Lua.Rockspec\Shell\Edit] +@="Edit" + +[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Lua.Rockspec\Shell\Edit\command] +@="notepad.exe \"%1\"" -- cgit v1.2.3-55-g6feb