chg: adding execute/home/current working directory functions to lua

This commit is contained in:
iceman1001
2020-05-19 09:13:31 +02:00
parent 23d754c85f
commit 966bcc0d28
5 changed files with 64 additions and 24 deletions

View File

@@ -29,15 +29,6 @@
static int CmdHelp(const char *Cmd);
static int setCmdHelp(const char *Cmd);
// Load all settings into memory (struct)
#ifdef _WIN32
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#include <unistd.h>
#define GetCurrentDir getcwd
#endif
static char *prefGetFilename(void) {
char *path;