File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
9
9
if not %OSGEO4W_DESKTOP_LINKS% == 0 mkdir " %OSGEO4W_DESKTOP% "
10
10
11
11
for %%g in (@ grassversions@ ) do (
12
- for /f " usebackq tokens=1" %%a in (`%%g --config version`) do set gv = %%a
13
- for /F " delims=." %%i in (" %%g v " ) do set v = %%i
12
+ for /f " usebackq tokens=1" %%a in (`%%g --config version`) do set gv = %%a
13
+ for /F " delims=." %%i in (" !gv! " ) do set v = %%i
14
14
15
15
copy " %OSGEO4W_ROOT% \bin\@package@-bin.exe" " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .exe"
16
16
copy " %OSGEO4W_ROOT% \bin\@package@-bin.vars" " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .vars"
17
17
textreplace -std -map @ grassmajor@ !v! -t bin\@ package@ -g!v! .bat
18
18
call " %OSGEO4W_ROOT% \bin\@package@-g!v! .bat" --postinstall
19
19
20
- if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .exe" " %OSGEO4W_STARTMENU% " " QGIS Desktop @version@ with GRASS %%g (Nightly)"
21
- if not %OSGEO4W_DESKTOP_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .exe" " %OSGEO4W_DESKTOP% " " QGIS Desktop @version@ with GRASS %%g (Nightly)"
20
+ if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .exe" " %OSGEO4W_STARTMENU% " " QGIS Desktop @version@ with GRASS !gv! (Nightly)"
21
+ if not %OSGEO4W_DESKTOP_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .exe" " %OSGEO4W_DESKTOP% " " QGIS Desktop @version@ with GRASS !gv! (Nightly)"
22
22
)
23
23
24
24
if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT% \bin\nircmd.exe" " %OSGEO4W_STARTMENU% " " Qt Designer with QGIS @version@ custom widgets (Nightly)" " exec hide " " " %OSGEO4W_ROOT% \bin\@ package@ -designer.bat" " " %OSGEO4W_ROOT% \apps\@package@\icons\QGIS.ico"
Original file line number Diff line number Diff line change 1
1
setlocal enabledelayedexpansion
2
2
3
3
for %%g in (@ grassversions@ ) do (
4
- for /F " delims=." %%i in (" %%g " ) do set v = %%i
4
+ for /f " usebackq tokens=1" %%a in (`%%g --config version`) do set gv = %%a
5
+ for /F " delims=." %%i in (" !gv! " ) do set v = %%i
5
6
6
- del " %OSGEO4W_STARTMENU% \QGIS Desktop @version@ with GRASS %%g (Nightly).lnk"
7
- del " %OSGEO4W_STARTMENU% \QGIS Browser @version@ with GRASS %%g (Nightly).lnk"
8
- del " %OSGEO4W_DESKTOP% \QGIS Desktop @version@ with GRASS %%g (Nightly).lnk"
9
- del " %OSGEO4W_DESKTOP% \QGIS Browser @version@ with GRASS %%g (Nightly).lnk"
7
+ del " %OSGEO4W_STARTMENU% \QGIS Desktop @version@ with GRASS !gv! (Nightly).lnk"
8
+ del " %OSGEO4W_STARTMENU% \QGIS Browser @version@ with GRASS !gv! (Nightly).lnk"
9
+ del " %OSGEO4W_DESKTOP% \QGIS Desktop @version@ with GRASS !gv! (Nightly).lnk"
10
+ del " %OSGEO4W_DESKTOP% \QGIS Browser @version@ with GRASS !gv! (Nightly).lnk"
10
11
del " %OSGEO4W_ROOT% \bin\@package@-g!v! .bat"
11
12
del " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .exe"
12
13
del " %OSGEO4W_ROOT% \bin\@package@-bin-g!v! .env"
You can’t perform that action at this time.
0 commit comments