call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
call "%OSGEO4W_ROOT%\bin\qt6_env.bat"
set APPNAME=QGIS Desktop 3.42.2 (Qt6)
for %%i in ("%OSGEO4W_STARTMENU%") do set QGIS_WIN_APP_NAME=%%~ni\%APPNAME%
call "%OSGEO4W_ROOT%\bin\qgis-qt6.bat" --postinstall
del /s /q "%OSGEO4W_ROOT%\apps\qgis-qt6\grass\*.pyc"
exit /b 0
