Quellcode durchsuchen

Merge pull request #1285 from seanpaultaylor/next

Fixes android build.xml files when generated from newproject.bat on Windows
Sean Taylor vor 12 Jahren
Ursprung
Commit
3734f63dfd
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      newproject.bat

+ 2 - 1
newproject.bat

@@ -152,7 +152,6 @@ REM    rmdir /S /Q %projPath%
 REM Generate relative path from project folder to GamePlay folder
 REM Generate relative path from project folder to GamePlay folder
 set gpPath=%cd%
 set gpPath=%cd%
 call:makerelative gpPath "%projPath%\"
 call:makerelative gpPath "%projPath%\"
-call:replacevar gpPath "\" "\"
 
 
 mkdir "%projPath%"
 mkdir "%projPath%"
 mkdir "%projPath%\src"
 mkdir "%projPath%\src"
@@ -170,6 +169,8 @@ call:replace "%projPath%\%projName%.vcxproj.filters" TemplateGame "%className%"
 copy template\template.vcxproj.user "%projPath%\%projName%.vcxproj.user"
 copy template\template.vcxproj.user "%projPath%\%projName%.vcxproj.user"
 call:replace "%projPath%\%projName%.vcxproj.user" GAMEPLAY_PATH "%gpPath%"
 call:replace "%projPath%\%projName%.vcxproj.user" GAMEPLAY_PATH "%gpPath%"
 
 
+call:replacevar gpPath "\" "/"
+
 REM Copy Apple XCode project files
 REM Copy Apple XCode project files
 mkdir "%projPath%\%projName%.xcodeproj"
 mkdir "%projPath%\%projName%.xcodeproj"
 copy template\template.xcodeproj\project.pbxproj "%projPath%\%projName%.xcodeproj\project.pbxproj"
 copy template\template.xcodeproj\project.pbxproj "%projPath%\%projName%.xcodeproj\project.pbxproj"