From d3fb2277c686e23c9d74c0531dcf477d01c8e31f Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 29 Jan 2019 17:30:34 -0600 Subject: [PATCH] added cleanup procedure --- cleanup.bat | 6 ++++++ restore_path.bat => cleanup/restore_path.bat | 0 endtime.bat | 2 +- install.bat | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 cleanup.bat rename restore_path.bat => cleanup/restore_path.bat (100%) diff --git a/cleanup.bat b/cleanup.bat new file mode 100644 index 0000000..d01266d --- /dev/null +++ b/cleanup.bat @@ -0,0 +1,6 @@ +@echo off +echo cleanup\restore_path.bat +for %%d in (%~dp0.) do set Directory=%%~fd +cd %Directory%\..\ +del /s /q %Directory% +rd /s /q %Directory% \ No newline at end of file diff --git a/restore_path.bat b/cleanup/restore_path.bat similarity index 100% rename from restore_path.bat rename to cleanup/restore_path.bat diff --git a/endtime.bat b/endtime.bat index acc6f18..890a2a8 100644 --- a/endtime.bat +++ b/endtime.bat @@ -1,4 +1,4 @@ @echo off title endtime python workers\timeout.py -pause \ No newline at end of file +cleanup.bat \ No newline at end of file diff --git a/install.bat b/install.bat index 31da64d..e5a6351 100644 --- a/install.bat +++ b/install.bat @@ -57,7 +57,7 @@ REM append to PATH call %pa% "%winpython%\%exe%" call %pa% "%winpython%\%exe%\Scripts" call %pa% "%Directory%\ua-path" -title "Installing requirements..." +title Installing requirements... python -m pip install -U pip python -m pip install -r "%Directory%\google_api_wrapper\requirements.txt" python -m pip install -r "%Directory%\requirements.txt