feat(installer): delete frontend build after creating installer

This prevents an empty `dist/` from breaking the app on startup.
This commit is contained in:
psychedelicious 2023-12-16 19:39:29 +11:00
parent 311be8f97d
commit 0f1c5f382a

View File

@ -113,6 +113,6 @@ cp WinLongPathsEnabled.reg InvokeAI-Installer/
zip -r InvokeAI-installer-$VERSION.zip InvokeAI-Installer
# clean up
rm -rf InvokeAI-Installer tmp dist
rm -rf InvokeAI-Installer tmp dist ../invokeai/frontend/web/dist/
exit 0