Explorar o código

Merge branch 'next' of https://github.com/blackberry/GamePlay into next

seanpaultaylor %!s(int64=12) %!d(string=hai) anos
pai
achega
160a2f8064
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      newproject.sh

+ 4 - 2
newproject.sh

@@ -172,16 +172,18 @@ fi
 #############################################
 # Copy Microsoft Visual Studio project files
 #############################################
+gpPathWin=$(echo $gpPath | sed 's*/*\\\\*g')
+
 cp "template/template.vcxproj" "$projPath/$projName.vcxproj"
 aliassedinplace "s*TEMPLATE_PROJECT*$projName*g" "$projPath/$projName.vcxproj"
 aliassedinplace "s*TemplateGame*$className*g" "$projPath/$projName.vcxproj"
-aliassedinplace "s*GAMEPLAY_PATH*$gpPath*g" "$projPath/$projName.vcxproj"
+aliassedinplace "s*GAMEPLAY_PATH*$gpPathWin*g" "$projPath/$projName.vcxproj"
 
 cp "template/template.vcxproj.filters" "$projPath/$projName.vcxproj.filters"
 aliassedinplace "s*TemplateGame*$className*g" "$projPath/$projName.vcxproj.filters"
 
 cp "template/template.vcxproj.user" "$projPath/$projName.vcxproj.user"
-aliassedinplace "s*GAMEPLAY_PATH*$gpPath*g" "$projPath/$projName.vcxproj.user"
+aliassedinplace "s*GAMEPLAY_PATH*$gpPathWin*g" "$projPath/$projName.vcxproj.user"
 
 
 #############################################