v1.6.t2
The app was still cutting out last command line arg of my test setup. Later found out it was the run script limiting the command line arg count to 3. I extended it out to 8 but I'll need to find a better option to make it limitless.
This commit is contained in:
parent
62a6139f3a
commit
80f8ec07e3
|
@ -6,7 +6,7 @@ cp ./.build-mow/mow /opt/mow/bin
|
||||||
printf "#!/bin/sh\n" > /opt/mow/run
|
printf "#!/bin/sh\n" > /opt/mow/run
|
||||||
printf "export OPENCV_LOG_LEVEL=DEBUG\n" >> /opt/mow/run
|
printf "export OPENCV_LOG_LEVEL=DEBUG\n" >> /opt/mow/run
|
||||||
printf "export OPENCV_VIDEOIO_DEBUG=1\n" >> /opt/mow/run
|
printf "export OPENCV_VIDEOIO_DEBUG=1\n" >> /opt/mow/run
|
||||||
printf "/opt/mow/bin \$1 \$2 \$3\n" >> /opt/mow/run
|
printf "/opt/mow/bin \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8\n" >> /opt/mow/run
|
||||||
chmod +x /opt/mow/run
|
chmod +x /opt/mow/run
|
||||||
chmod +x /opt/mow/bin
|
chmod +x /opt/mow/bin
|
||||||
rm /usr/bin/mow
|
rm /usr/bin/mow
|
||||||
|
|
|
@ -288,7 +288,7 @@ vector<string> parseForList(const string &arg, int argc, char** argv, bool argOn
|
||||||
auto argCount = 0;
|
auto argCount = 0;
|
||||||
auto ret = vector<string>();
|
auto ret = vector<string>();
|
||||||
|
|
||||||
for (auto i = 0; i < argc; ++i)
|
for (auto i = 1; i < argc; ++i)
|
||||||
{
|
{
|
||||||
auto argInParams = string(argv[i]);
|
auto argInParams = string(argv[i]);
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ using namespace cv;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace std::filesystem;
|
using namespace std::filesystem;
|
||||||
|
|
||||||
#define APP_VER "1.6.t1"
|
#define APP_VER "1.6.t2"
|
||||||
#define APP_NAME "Motion Watch"
|
#define APP_NAME "Motion Watch"
|
||||||
|
|
||||||
struct shared_t
|
struct shared_t
|
||||||
|
|
Loading…
Reference in New Issue
Block a user