Skip to content
Permalink
Browse files

Update message in wizard and code style batch file

  • Loading branch information
NathanW2 committed Aug 6, 2018
1 parent a7f0f2b commit d8b20e74415465183aee7d5be2db4a42953557e4
Showing with 29 additions and 19 deletions.
  1. +29 −19 editors/QtCreator/install-win.bat
@@ -1,19 +1,29 @@
@ECHO OFF
SET CREATOR=%APPDATA%\QtProject\qtcreator
SET WIZARDS=%CREATOR%\templates\wizards
SET CODESTYLES=%CREATOR%\codestyles\cpp
IF NOT EXIST "%WIZARDS%" (
mkdir "%WIZARDS%"
)

IF NOT EXIST "%WIZARDS%\qgis" (
mklink /J "%WIZARDS%\qgis" %CD%\templates\wizards\qgis
)

IF NOT EXIST "%CODESTYLES%" (
mkdir "%CODESTYLES%"
)

IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" (
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml
)
@ECHO OFF
SET CREATOR=%APPDATA%\QtProject\qtcreator
SET WIZARDS=%CREATOR%\templates\wizards
SET CODESTYLES=%CREATOR%\codestyles\cpp
IF NOT EXIST "%WIZARDS%" (
ECHO Making wizard folder..
mkdir "%WIZARDS%"
)

IF NOT EXIST "%WIZARDS%\qgis" (
ECHO Linking code wizards from source..
mklink /J "%WIZARDS%\qgis" %CD%\templates\wizards\qgis
) ELSE (
ECHO Wizard folders already linked
)

IF NOT EXIST "%CODESTYLES%" (
ECHO Making code style folder..
mkdir "%CODESTYLES%"
)

IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" (
ECHO Linking code styles from source..
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml
) ELSE (
ECHO Code styles already linked..
)

pause

0 comments on commit d8b20e7

Please sign in to comment.
You can’t perform that action at this time.