File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ namespace OZW {
2828 CommandMap* ctrlCmdNames;
2929
3030 std::string ozw_userpath;
31- const std::string ozw_config_path = stringify( OPENZWAVE_ETC );
31+ std::string ozw_config_path = stringify( OPENZWAVE_ETC );
3232
3333 // ===================================================================
3434 extern " C" void init (Handle<Object> target, Handle<Object> module ) {
@@ -222,6 +222,8 @@ namespace OZW {
222222 // scan for OpenZWave options.xml in the nodeJS module's '/config' subdirectory
223223 if (keyname == " UserPath" ) {
224224 ozw_userpath.assign (argvalstr);
225+ } else if (keyname == " ConfigPath" ) {
226+ ozw_config_path.assign (argvalstr);
225227 } else {
226228 option_overrides += " --" + keyname + " " + argvalstr;
227229 }
You can’t perform that action at this time.
0 commit comments