change scripts/ to luascripts/

This commit is contained in:
Philippe Teuwen
2019-08-21 23:17:01 +02:00
parent fb00690957
commit a8ee33baf4
47 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -151,9 +151,9 @@ build_script:
Copy-Item C:\ProxSpace\pm3\bootrom\obj\*.elf C:\ProxSpace\Release\arm
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\scripts
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\luascripts
Copy-Item C:\ProxSpace\pm3\client\scripts\*.lua C:\ProxSpace\Release\scripts
Copy-Item C:\ProxSpace\pm3\client\luascripts\*.lua C:\ProxSpace\Release\luascripts
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\hardnested\tables
+1 -1
View File
@@ -86,7 +86,7 @@ static int CmdHFMFPInfo(const char *cmd) {
// check SL0
uint8_t data[250] = {0};
int datalen = 0;
// https://github.com/Proxmark/proxmark3/blob/master/client/scripts/mifarePlus.lua#L161
// https://github.com/Proxmark/proxmark3/blob/master/client/luascripts/mifarePlus.lua#L161
uint8_t cmd[3 + 16] = {0xa8, 0x90, 0x90, 0x00};
int res = ExchangeRAW14a(cmd, sizeof(cmd), false, false, data, sizeof(data), &datalen);
if (!res && datalen > 1 && data[0] == 0x09) {
+2 -2
View File
@@ -77,7 +77,7 @@ static int CmdScriptList(const char *Cmd) {
n = scandir(script_directory_path, &namelist, NULL, alphasort);
if (n == -1) {
PrintAndLogEx(FAILED, "Couldn't open the scripts-directory");
PrintAndLogEx(FAILED, "Couldn't open the luascripts-directory");
return 1;
}
@@ -175,7 +175,7 @@ static command_t CommandTable[] = {
*/
static int CmdHelp(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
PrintAndLogEx(NORMAL, "This is a feature to run Lua-scripts. You can place lua-scripts within the scripts/-folder. ");
PrintAndLogEx(NORMAL, "This is a feature to run Lua-scripts. You can place Lua-scripts within the luascripts/-folder. ");
return 0;
}

Some files were not shown because too many files have changed in this diff Show More