Permalink
Browse files
modified output for readme in zip archive to allow config parsing
- Loading branch information...
Showing
with
3 additions
and
3 deletions.
-
+3
−3
js/main.js
|
@@ -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