Browse Source

Fix hardcoded path

Signed-off-by: Steve Pham <[email protected]>
Steve Pham 1 năm trước cách đây
mục cha
commit
cbddee5dd2

+ 1 - 1
Templates/DefaultProject/Template/export.bat

@@ -34,7 +34,7 @@ REM
 REM Note: The location of the engine (O3DE_PATH) is hardcoded to the location of the engine that was used to generate 
 REM Note: The location of the engine (O3DE_PATH) is hardcoded to the location of the engine that was used to generate 
 REM       this project. The engine path must reflect the path to the engine on the local machine.
 REM       this project. The engine path must reflect the path to the engine on the local machine.
 
 
-set O3DE_PATH=D:/github/o3de
+set O3DE_PATH=${EnginePath}
 set O3DE_PROJECT_PATH=%~dp0
 set O3DE_PROJECT_PATH=%~dp0
 
 
 IF "%1" == "-h" (
 IF "%1" == "-h" (