mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
convert paths when saving configuration
This commit is contained in:
parent
4776328731
commit
a9e358eb9e
@ -77,7 +77,8 @@ public class ImportAppMoteType extends AbstractApplicationMoteType {
|
||||
|
||||
if (moteClassPath != null) {
|
||||
Element element = new Element("motepath");
|
||||
element.setText(simulation.getGUI().createPortablePath(moteClassPath).getPath());
|
||||
File file = simulation.getGUI().createPortablePath(moteClassPath);
|
||||
element.setText(file.getPath().replaceAll("\\\\", "/"));
|
||||
config.add(element);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user