try to detect dev, and use right RNOTE_HOME