Skip to content

Commit

Permalink
Added com.lua to distribution to help load luacom
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 1, 2010
1 parent fb5d70d commit a56d677
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions install/mushclient.nsi
Expand Up @@ -323,6 +323,7 @@ SetOverwrite ifnewer
File "..\lua\gauge.lua"
File "..\lua\ppi.lua"
File "..\lua\mapper.lua"
File "..\lua\com.lua"

; LuaSocket

Expand Down Expand Up @@ -538,6 +539,7 @@ Section Uninstall
Delete "$INSTDIR\lua\gauge.lua"
Delete "$INSTDIR\lua\ppi.lua"
Delete "$INSTDIR\lua\mapper.lua"
Delete "$INSTDIR\lua\com.lua"

Delete "$INSTDIR\lua\socket.lua"
Delete "$INSTDIR\lua\ltn12.lua"
Expand Down
2 changes: 1 addition & 1 deletion lua/checkplugin.lua
@@ -1,4 +1,4 @@
-- checkplugin.xml
-- checkplugin.lua

-- Checks the nominated plugin is installed

Expand Down
7 changes: 7 additions & 0 deletions lua/com.lua
@@ -0,0 +1,7 @@
-- com.lua

-- Glue module to help load luacom

assert (package.loadlib ("luacom.dll", "luacom_open")) ()

return luacom

0 comments on commit a56d677

Please sign in to comment.