Improve the windows uninstall script a little

This commit is contained in:
Veronica K. B. Olsen
2021-04-17 17:45:28 +02:00
parent a14b319ada
commit fcac28c69f
+11 -1
View File
@@ -19,12 +19,22 @@ if exist setup.py (
)
echo.
echo Ready to remove the novelWriter icons, registry keys, and package dependencies.
set /P c=Are you sure you want to continue [y/n]?
if /I "%c%" EQU "y" goto doUninst
goto afterUninst
:doUninst
:: Remove the desktop and start menu icons
python setup.py win-uninstall
:: Remove the PyQt5, lxml and pyenchant dependencies
pip uninstall -r requirements.txt
pip uninstall --yes -r requirements.txt
:afterUninst
echo.
pause
goto:eof