2018-11-10 16:28:22 +01:00
|
|
|
setlocal enabledelayedexpansion
|
|
|
|
|
2015-04-10 14:44:10 +02:00
|
|
|
for %%g in (@grassversions@) do (
|
2019-03-27 10:43:03 +01:00
|
|
|
for /f "usebackq tokens=1" %%a in (`%%g --config version`) do set gv=%%a
|
|
|
|
for /F "delims=." %%i in ("!gv!") do set v=%%i
|
2018-11-10 16:28:22 +01:00
|
|
|
|
2019-03-27 10:43:03 +01:00
|
|
|
del "%OSGEO4W_STARTMENU%\QGIS Desktop @version@ with GRASS !gv! (Nightly).lnk"
|
|
|
|
del "%OSGEO4W_STARTMENU%\QGIS Browser @version@ with GRASS !gv! (Nightly).lnk"
|
|
|
|
del "%OSGEO4W_DESKTOP%\QGIS Desktop @version@ with GRASS !gv! (Nightly).lnk"
|
|
|
|
del "%OSGEO4W_DESKTOP%\QGIS Browser @version@ with GRASS !gv! (Nightly).lnk"
|
2018-11-10 16:28:22 +01:00
|
|
|
del "%OSGEO4W_ROOT%\bin\@package@-g!v!.bat"
|
|
|
|
del "%OSGEO4W_ROOT%\bin\@package@-bin-g!v!.exe"
|
|
|
|
del "%OSGEO4W_ROOT%\bin\@package@-bin-g!v!.env"
|
|
|
|
del "%OSGEO4W_ROOT%\bin\@package@-bin-g!v!.vars"
|
2015-04-10 14:44:10 +02:00
|
|
|
)
|
|
|
|
|
2015-03-05 02:20:56 +01:00
|
|
|
del "%OSGEO4W_STARTMENU%\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk"
|
2016-03-12 19:42:03 +01:00
|
|
|
rmdir "%OSGEO4W_STARTMENU%"
|
|
|
|
del "%OSGEO4W_DESKTOP%\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk"
|
|
|
|
rmdir "%OSGEO4W_DESKTOP%"
|
2015-04-10 14:44:10 +02:00
|
|
|
|
2017-02-18 19:12:20 +01:00
|
|
|
del "%OSGEO4W_ROOT%\bin\@package@-bin.env"
|
2016-03-12 19:42:03 +01:00
|
|
|
del "%OSGEO4W_ROOT%\bin\@package@-designer.bat"
|
|
|
|
del "%OSGEO4W_ROOT%\bin\python-@package@.bat"
|
2020-04-17 14:04:31 +02:00
|
|
|
del "%OSGEO4W_ROOT%\bin\qgis_process-@package@.bat"
|
2016-03-12 19:42:03 +01:00
|
|
|
del "%OSGEO4W_ROOT%\apps\@package@\python\qgis\qgisconfig.py"
|
|
|
|
del "%OSGEO4W_ROOT%\apps\@package@\bin\qgis.reg"
|
2017-02-23 09:17:02 +01:00
|
|
|
del /s /q "%OSGEO4W_ROOT%\apps\@package@\*.pyc"
|
2018-11-10 16:28:22 +01:00
|
|
|
|
|
|
|
endlocal
|