File tree 3 files changed +15
-11
lines changed
3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1
1
textreplace -std -t bin\@ package@ .bat
2
2
textreplace -std -t bin\@ package@ -browser.bat
3
3
4
+ REM get short path without blanks
5
+ for %%i in (" %OSGEO4W_ROOT% " ) do set O4W_ROOT = %%~fsi
6
+
4
7
if not %OSGEO4W_MENU_LINKS% == 0 mkdir " %OSGEO4W_STARTMENU% "
5
- if not %OSGEO4W_MENU_LINKS% == 0 xxmklink " %OSGEO4W_STARTMENU% \QGIS Desktop (@version@).lnk" " %OSGEO4W_ROOT % \bin\@package@.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
6
- if not %OSGEO4W_MENU_LINKS% == 0 xxmklink " %OSGEO4W_STARTMENU% \QGIS Browser (@version@).lnk" " %OSGEO4W_ROOT % \bin\@package@-browser.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
8
+ if not %OSGEO4W_MENU_LINKS% == 0 xxmklink " %OSGEO4W_STARTMENU% \QGIS Desktop (@version@).lnk" " %O4W_ROOT % \bin\@package@.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
9
+ if not %OSGEO4W_MENU_LINKS% == 0 xxmklink " %OSGEO4W_STARTMENU% \QGIS Browser (@version@).lnk" " %O4W_ROOT % \bin\@package@-browser.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
7
10
8
- if not %OSGEO4W_DESKTOP_LINKS% == 0 xxmklink " %ALLUSERSPROFILE% \Desktop\QGIS Desktop (@version@).lnk" " %OSGEO4W_ROOT % \bin\@package@.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
9
- if not %OSGEO4W_DESKTOP_LINKS% == 0 xxmklink " %ALLUSERSPROFILE% \Desktop\QGIS Browser (@version@).lnk" " %OSGEO4W_ROOT % \bin\@package@-browser.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
11
+ if not %OSGEO4W_DESKTOP_LINKS% == 0 xxmklink " %ALLUSERSPROFILE% \Desktop\QGIS Desktop (@version@).lnk" " %O4W_ROOT % \bin\@package@.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
12
+ if not %OSGEO4W_DESKTOP_LINKS% == 0 xxmklink " %ALLUSERSPROFILE% \Desktop\QGIS Browser (@version@).lnk" " %O4W_ROOT % \bin\@package@-browser.bat" " " \ " QGIS - Desktop GIS (@version@)" 1 " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
10
13
11
- set O4W_ROOT = %OSGEO4W_ROOT%
12
14
set OSGEO4W_ROOT = %OSGEO4W_ROOT:\ =\\ %
13
15
textreplace -std -t " %O4W_ROOT% \apps\@package@\bin\qgis.reg"
14
16
" %WINDIR% \regedit" /s " %O4W_ROOT% \apps\@package@\bin\qgis.reg"
Original file line number Diff line number Diff line change 1
1
textreplace -std -t bin\@ package@ .bat
2
2
textreplace -std -t bin\@ package@ -browser.bat
3
3
4
+ REM get short path without blanks
5
+ for %%i in (" %OSGEO4W_ROOT% " ) do set O4W_ROOT = %%~fsi
6
+
4
7
if not %OSGEO4W_MENU_LINKS% == 0 mkdir " %OSGEO4W_STARTMENU% "
5
- if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT % \bin\nircmd.exe" " %OSGEO4W_STARTMENU% " " QGIS Desktop @version@" " exec hide " " " %OSGEO4W_ROOT % \bin\@ package@ .bat" " " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
6
- if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT % \bin\nircmd.exe" " %OSGEO4W_STARTMENU% " " QGIS Browser @version@" " exec hide " " " %OSGEO4W_ROOT % \bin\@ package@ -browser.bat" " " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
8
+ if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %O4W_ROOT % \bin\nircmd.exe" " %OSGEO4W_STARTMENU% " " QGIS Desktop @version@" " exec hide %O4W_ROOT % \bin\@package@.bat" " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
9
+ if not %OSGEO4W_MENU_LINKS% == 0 nircmd shortcut " %O4W_ROOT % \bin\nircmd.exe" " %OSGEO4W_STARTMENU% " " QGIS Browser @version@" " exec hide %O4W_ROOT % \bin\@package@-browser.bat" " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
7
10
8
- if not %OSGEO4W_DESKTOP_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT % \bin\nircmd.exe" " ~$folder.desktop$" " QGIS Desktop @version@" " exec hide " " " %OSGEO4W_ROOT % \bin\@ package@ .bat" " " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
9
- if not %OSGEO4W_DESKTOP_LINKS% == 0 nircmd shortcut " %OSGEO4W_ROOT % \bin\nircmd.exe" " ~$folder.desktop$" " QGIS Browser @version@" " exec hide " " " %OSGEO4W_ROOT % \bin\@ package@ -browser.bat" " " %OSGEO4W_ROOT % \apps\@package@\icons\QGIS.ico"
11
+ if not %OSGEO4W_DESKTOP_LINKS% == 0 nircmd shortcut " %O4W_ROOT % \bin\nircmd.exe" " ~$folder.desktop$" " QGIS Desktop @version@" " exec hide %O4W_ROOT % \bin\@package@.bat" " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
12
+ if not %OSGEO4W_DESKTOP_LINKS% == 0 nircmd shortcut " %O4W_ROOT % \bin\nircmd.exe" " ~$folder.desktop$" " QGIS Browser @version@" " exec hide %O4W_ROOT % \bin\@package@-browser.bat" " %O4W_ROOT % \apps\@package@\icons\QGIS.ico"
10
13
11
- set O4W_ROOT = %OSGEO4W_ROOT%
12
14
set OSGEO4W_ROOT = %OSGEO4W_ROOT:\ =\\ %
13
15
textreplace -std -t " %O4W_ROOT% \apps\@package@\bin\qgis.reg"
14
16
" %WINDIR% \regedit" /s " %O4W_ROOT% \apps\@package@\bin\qgis.reg"
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ QProcess *QgsContextHelp::start()
73
73
}
74
74
#endif
75
75
76
- process->start ( helpPath );
76
+ process->start ( helpPath, QStringList () );
77
77
78
78
return process;
79
79
}
You can’t perform that action at this time.
0 commit comments