|
Last change
on this file was 74027, checked in by martinl, 6 years ago |
|
wingrass: change instalation target, see #3732
|
-
Property svn:eol-style
set to
CRLF
-
Property svn:mime-type
set to
text/x-bat
|
|
File size:
1015 bytes
|
| Line | |
|---|
| 1 | set ICON=%OSGEO4W_ROOT%\apps\grass\grass@POSTFIX@\gui\icons\grass_osgeo.ico
|
|---|
| 2 | set BATCH=%OSGEO4W_ROOT%\bin\@GRASS_EXECUTABLE@.bat
|
|---|
| 3 | textreplace -std -t "%BATCH%"
|
|---|
| 4 | textreplace -std -t "%OSGEO4W_ROOT%"\apps\grass\grass-@POSTFIX@\etc\fontcap
|
|---|
| 5 |
|
|---|
| 6 | xxmklink "%OSGEO4W_STARTMENU%\GRASS GIS @VERSION@.lnk" "%BATCH%" "--gui" \ "Launch GRASS GIS @VERSION@" 1 "%ICON%"
|
|---|
| 7 | xxmklink "%ALLUSERSPROFILE%\Desktop\GRASS GIS @VERSION@.lnk" "%BATCH%" "--gui" \ "Launch GRASS GIS @VERSION@" 1 "%ICON%"
|
|---|
| 8 |
|
|---|
| 9 | rem run g.mkfontcap outside a GRASS session during
|
|---|
| 10 | rem an OSGeo4W installation for updating paths to fonts
|
|---|
| 11 |
|
|---|
| 12 | rem set gisbase
|
|---|
| 13 | set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass@POSTFIX@
|
|---|
| 14 |
|
|---|
| 15 | rem set path to freetype dll and its dependencies
|
|---|
| 16 | set FREETYPEBASE=%OSGEO4W_ROOT%\bin;%OSGEO4W_ROOT%\apps\msys\bin;%GISBASE%\lib
|
|---|
| 17 |
|
|---|
| 18 | rem set dependencies to path
|
|---|
| 19 | set PATH=%FREETYPEBASE%;%PATH%
|
|---|
| 20 |
|
|---|
| 21 | rem GISRC must be set
|
|---|
| 22 | set GISRC=dummy
|
|---|
| 23 |
|
|---|
| 24 | rem run g.mkfontcap outside a GRASS session
|
|---|
| 25 | "%GISBASE%\bin\g.mkfontcap.exe" -o
|
|---|
| 26 |
|
|---|
| 27 | del "%BATCH%.tmpl
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.