diff --git a/create_exe.bat b/create_exe.bat index 3e9b0ab..a36b61f 100644 --- a/create_exe.bat +++ b/create_exe.bat @@ -1,7 +1,11 @@ @echo off -pyinstaller -D -w -i=locked.ico PyPass.py -copy %CD%\locked.ico %CD%\dist\PyPass\locked.ico +pyinstaller -F -w -i=locked.ico PyPass.py +mkdir %CD%\PyPass +copy %CD%\locked.ico %CD%\PyPass\locked.ico +copy %CD%\LICENSE %CD%\PyPass\LICENSE rd /s /q %CD%\build -move /y %CD%\dist\PyPass %CD%\PyPass +move /y %CD%\dist\PyPass.exe %CD%\PyPass\PyPass.exe rd /s /q %CD%\dist -del %CD%\PyPass.spec \ No newline at end of file +del %CD%\PyPass.spec +7z a -SFX PyPass_SFX.exe PyPass +rd /s /q %CD%\PyPass \ No newline at end of file