Readme, update export command

This commit is contained in:
Lurenaud 2023-02-10 13:55:17 +01:00
parent 0d966f0556
commit 99780c1cb8

View File

@ -43,4 +43,8 @@ Double click the gui.py file
Using auto-py-to-exe Using auto-py-to-exe
`pip install auto-py-to-exe` `pip install auto-py-to-exe`
Works in single file but need to add the ps1 and ddl files in the same directory
Export command, will generate the exe file in the output folder
```
pyinstaller --noconfirm --onefile --console --add-data "C:/Users/lucienrenaud/Desktop/SldwrksExporter/scripts/export-pdf-dxf.ps1;." --add-data "C:/Users/lucienrenaud/Desktop/SldwrksExporter/scripts/export-step.ps1;." --add-data "C:/Users/lucienrenaud/Desktop/SldwrksExporter/scripts/SolidWorks.Interop.sldworks.dll;." "C:/Users/lucienrenaud/Desktop/SldwrksExporter/scripts/export.py"
```