From 99780c1cb8be959c8cb80e3b82427a506dc2df18 Mon Sep 17 00:00:00 2001 From: Lurenaud Date: Fri, 10 Feb 2023 13:55:17 +0100 Subject: [PATCH] Readme, update export command --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad132b2..ba08260 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,8 @@ Double click the gui.py file Using 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 \ No newline at end of file + +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" +``` \ No newline at end of file