ADD: @pivipw 's changes "making lua paths".

ref:: 4197a3f6ff

This contains a ugly hardcoded hack to solve the issue: https://github.com/Proxmark/proxmark3/issues/217
where GetModuleHandleEx doesn't exist in mingw (old proxspace 2013 environment).

Use the docker container or linux...
This commit is contained in:
iceman1001 2017-02-24 14:59:38 +01:00
commit b804b9cdb8
7 changed files with 762 additions and 13 deletions

View file

@ -28,6 +28,11 @@
#include "cmdcrc.h"
#include "cmdhfmfhard.h"
#define LUA_LIBRARIES_DIRECTORY "lualibs/"
#define LUA_SCRIPTS_DIRECTORY "scripts/"
#define LUA_LIBRARIES_WILDCARD "?.lua"
/**
* @brief set_libraries loads the core components of pm3 into the 'pm3'
* namespace within the given lua_State