FIX pdf outcome directory
This commit is contained in:
parent
3d2d9347ca
commit
deec9ec589
@ -1 +1 @@
|
||||
[{"url":"http://localhost:8080/#/resume-material-dark","delay":0,"selector":"","zoom-factor":1,"format":"pdf","quality":75,"user-agent":"","latency":null,"download":null,"upload":null,"css":"","js":"","debug":false,"root":"","pdf":{"pageSize":"A4","marginsType":1,"printBackground":true,"landscape":false},"size":{"width":2481,"height":3508},"out":"/home/s/workspace/pdf/resume-material-dark.pdf"}]
|
||||
[{"url":"http://localhost:8080/#/resume-material-dark","delay":0,"selector":"","zoom-factor":1,"format":"pdf","quality":75,"user-agent":"","latency":null,"download":null,"upload":null,"css":"","js":"","debug":false,"root":"","pdf":{"pageSize":"A4","marginsType":1,"printBackground":true,"landscape":false},"size":{"width":2481,"height":3508},"out":"/home/s/workspace/best-resume-ever/pdf/resume-material-dark.pdf"}]
|
||||
@ -7,7 +7,8 @@ const ResumeToPdf = {
|
||||
* @return {string} electroshot command
|
||||
*/
|
||||
electroshotScript: resume => {
|
||||
const dir = path.join(__dirname, '../../pdf');
|
||||
const dir = path.join(__dirname, '../pdf');
|
||||
console.dir(dir);
|
||||
return 'electroshot localhost:8080/#/' + resume +
|
||||
' 2481x3508 --pdf-margin none --format pdf --out ' + dir +
|
||||
' --filename "' + resume + '.pdf" --pdf-background; ';
|
||||
|
||||
BIN
pdf/resume-material-dark.pdf
Normal file
BIN
pdf/resume-material-dark.pdf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user