2015-06-25 15:07:43 +02:00
|
|
|
textreplace -std -t bin\@package@-grass@grassmajor@.bat
|
|
|
|
|
2016-03-12 19:42:03 +01:00
|
|
|
if "%OSGEO4W_DESKTOP%"=="" set OSGEO4W_DESKTOP=~$folder.common_desktop$
|
|
|
|
|
2017-02-18 19:12:20 +01:00
|
|
|
copy bin\@package@-bin.exe bin\@package@-bin-grass@grassmajor@.exe
|
|
|
|
copy bin\@package@-bin.vars bin\@package@-bin-grass@grassmajor@.vars
|
2018-01-31 22:13:10 +01:00
|
|
|
call "%OSGEO4W_ROOT%\bin\@package@-grass@grassmajor@.bat" --postinstall
|
2015-06-25 15:07:43 +02:00
|
|
|
|
2017-02-18 19:12:20 +01:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
|
2016-03-12 19:42:03 +01:00
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 mkdir "%OSGEO4W_DESKTOP%"
|
2017-02-18 19:12:20 +01:00
|
|
|
|
|
|
|
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@"
|