|
9 | 9 | cls |
10 | 10 | setlocal enabledelayedexpansion |
11 | 11 |
|
| 12 | +start ..\utils\stop_all.bat |
| 13 | + |
12 | 14 | set useColor=true |
13 | 15 | set doDebug=false |
14 | 16 | set lineWidth=70 |
@@ -111,6 +113,17 @@ if /i "!cleanInstallAll!" == "true" ( |
111 | 113 | set cleanUserData=true |
112 | 114 | ) |
113 | 115 |
|
| 116 | +echo clean assets = %cleanAssets% |
| 117 | +echo clean build = %cleanBuild% |
| 118 | +echo clean data = %cleanUserData% |
| 119 | +echo clean download-cache = %cleanDownloadCache% |
| 120 | +echo clean install = %cleanInstallCurrentOS% |
| 121 | +echo clean install-all = %cleanInstallAll% |
| 122 | +echo clean libraries = %cleanLibraries% |
| 123 | +echo clean libraries-all = %cleanLibrariesAll% |
| 124 | +echo clean all = %cleanAll% |
| 125 | + |
| 126 | + |
114 | 127 | REM Start cleaning ============================================================= |
115 | 128 |
|
116 | 129 | if /i "%cleanAssets%" == "true" ( |
@@ -210,11 +223,9 @@ if /i "%cleanDownloadCache%" == "true" ( |
210 | 223 | call "!utilsScript!" WriteLine |
211 | 224 |
|
212 | 225 | REM remove non module or model folders |
213 | | - FOR /d %%a IN ("%rootDir%\downloads\*") DO ( |
| 226 | + FOR /d %%a IN ("%rootDir%\downloads\modules\assets\*") DO ( |
214 | 227 | IF /i NOT "%%~nxa"=="modules" IF /i NOT "%%~nxa"=="models" call :RemoveDir "%%a" |
215 | | - |
216 | | - REM clean out module folders |
217 | | - call :RemoveFile "%rootDir%\downloads\modules\" |
| 228 | + ) |
218 | 229 |
|
219 | 230 | REM clean out models files |
220 | 231 | FOR %%a IN ("%rootDir%\downloads\models\*") DO ( |
@@ -246,7 +257,7 @@ if /i "%cleanInstallCurrentOS%" == "true" ( |
246 | 257 | if /i "%cleanInstallAll%" == "true" ( |
247 | 258 |
|
248 | 259 | call "!utilsScript!" WriteLine |
249 | | - call "!utilsScript!" WriteLine "Cleaning install for other platforms" "White" "Blue" !lineWidth! |
| 260 | + call "!utilsScript!" WriteLine "Cleaning install for all platforms" "White" "Blue" !lineWidth! |
250 | 261 | call "!utilsScript!" WriteLine |
251 | 262 |
|
252 | 263 | REM Clean shared python installs and venvs |
|
0 commit comments