mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
14 lines
815 B
Batchfile
14 lines
815 B
Batchfile
textreplace -std -t bin\@package@-grass@grassmajor@.bat
|
|
|
|
if "%OSGEO4W_DESKTOP%"=="" set OSGEO4W_DESKTOP=~$folder.common_desktop$
|
|
|
|
copy bin\@package@-bin.exe bin\@package@-bin-grass@grassmajor@.exe
|
|
copy bin\@package@-bin.vars bin\@package@-bin-grass@grassmajor@.vars
|
|
"%OSGEO4W_ROOT%\bin\@package@-grass@grassmajor@.bat" --exit
|
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 mkdir "%OSGEO4W_DESKTOP%"
|
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\@package@-bin-grass@grassmajor@.exe" "%OSGEO4W_STARTMENU%" "QGIS Desktop @version@ with GRASS @grassversion@"
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\@package@-bin-grass@grassmajor@.exe" "%OSGEO4W_DESKTOP%" "QGIS Desktop @version@ with GRASS @grassversion@"
|