mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
fix nightly osgeo4w
This commit is contained in:
parent
26c083b841
commit
be858fc28e
@ -143,8 +143,8 @@ if errorlevel 1 goto error
|
||||
echo PACKAGE: %DATE% %TIME%>>%LOG% 2>&1
|
||||
|
||||
cd ..
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' postinstall.bat >%OSGEO4W_ROOT%\etc\postinstall\%PACKAGENAME%.bat
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' preremove.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' postinstall-dev.bat >%OSGEO4W_ROOT%\etc\postinstall\%PACKAGENAME%.bat
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' preremove-desktop.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' qgis.bat.tmpl >%OSGEO4W_ROOT%\bin\%PACKAGENAME%.bat.tmpl
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' browser.bat.tmpl >%OSGEO4W_ROOT%\bin\%PACKAGENAME%-browser.bat.tmpl
|
||||
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' qgis.reg.tmpl >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\bin\qgis.reg.tmpl
|
||||
|
20
ms-windows/osgeo4w/postinstall-dev.bat
Normal file
20
ms-windows/osgeo4w/postinstall-dev.bat
Normal file
@ -0,0 +1,20 @@
|
||||
textreplace -std -t bin\@package@.bat
|
||||
textreplace -std -t bin\@package@-browser.bat
|
||||
|
||||
mkdir "%OSGEO4W_STARTMENU%"
|
||||
xxmklink "%OSGEO4W_STARTMENU%\Quantum GIS Desktop (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
||||
xxmklink "%ALLUSERSPROFILE%\Desktop\Quantum GIS Desktop (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
||||
xxmklink "%OSGEO4W_STARTMENU%\Quantum GIS Browser (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@-browser.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
||||
xxmklink "%ALLUSERSPROFILE%\Desktop\Quantum GIS Browser (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@-browser.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
||||
|
||||
set O4W_ROOT=%OSGEO4W_ROOT%
|
||||
set OSGEO4W_ROOT=%OSGEO4W_ROOT:\=\\%
|
||||
textreplace -std -t "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|
||||
set OSGEO4W_ROOT=%O4W_ROOT%
|
||||
|
||||
"%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|
||||
|
||||
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
|
||||
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin
|
||||
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%\apps\@package@
|
||||
%OSGEO4W_ROOT%\apps\@package@\crssync
|
Loading…
x
Reference in New Issue
Block a user