Permalink
Browse files

modified output for readme in zip archive to allow config parsing

  • Loading branch information...
1 parent a8d5063 commit 14f5c56e86cc6ee203e5ec2d57d4aa05458a5849 @rkoeppl rkoeppl committed Jun 26, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/main.js
View
@@ -457,9 +457,9 @@ function startSlicing() {
ontime = parseInt(times.on);
offtime = parseInt(times.off);
layerheight=settings.get('slicer.layers.height');
- ziptext1= '#Generated by SLAcer.js\r\n#http://lautr3k.github.io/SLAcer.js/\r\nlayer_height= '+layerheight;
- ziptext2='\r\nexposure_time= '+ontime;
- ziptext3= '\r\nresin_settling_time= '+offtime;
+ ziptext1= '#Generated by SLAcer.js\r\n#http://lautr3k.github.io/SLAcer.js/\r\nlayer_height='\"+layerheight\";
+ ziptext2='\r\nexposure_time='\"+ontime\";
+ ziptext3= '\r\nresin_settling_time='\"+offtime\";
ziptext= ziptext1+ziptext2+ziptext3;
zipFile.file("README.txt",ziptext);

0 comments on commit 14f5c56

Please sign in to comment.