Move from github, collapse gltk and strictmath, add candle
[clnl] / bin / runcmd.scala
index b91ed4e482999eacf455b99f600ce6d81f85894b..52658473085bd3eafadfd39b2186c9de56f85b41 100755 (executable)
@@ -86,8 +86,10 @@ Polygon -7500403 true false 219 85 210 105 193 99 201 83
 
 @#$#@#$#@
 NetLogo 5.2.0""")
+} else if (input.length > 3 && input(3).length > 0) {
+  workspace.openFromSource(url2String("file:" + input(3)))
 } else {
-  workspace.openFromSource(url2String("file:resources/empty.nlogo"))
+  workspace.openFromSource(url2String("file:resources/clnl/empty.nlogo"))
 }
 
 workspace.mainRNG.setSeed(15)