Make LUA scripting work even if proxmark3 is called from arbitrary working directory

- add @gpakosz whereami library (https://github.com/gpakosz/whereami) in order to ...
- determine and set absolute paths for LUA scripts and LUA libraries
This commit is contained in:
pwpiwi 2017-02-23 18:30:29 +01:00
commit 4197a3f6ff
8 changed files with 782 additions and 8 deletions

View file

@ -17,5 +17,7 @@
#define PROXPROMPT "proxmark3> "
void SendCommand(UsbCommand *c);
const char const *get_my_executable_path(void);
const char const *get_my_executable_directory(void);
#endif