Fixed build project path

This commit is contained in:
wrenge 2022-06-01 15:01:42 +03:00
parent f08896a5a2
commit b010f75d67
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [1.0.4] - 2022-06-01
### Fixed
- Fixed build project path
## [1.0.3] - 2022-05-31
### Added
- A changelog. Cuz why not? :D

View File

@ -37,7 +37,7 @@ function unity_exec($func, $build_target = "", $quit = true, $batchmode = true)
{
global $GAME_ROOT;
$proj_path = normalize_path("$GAME_ROOT/");
$proj_path = normalize_path(get("UNITY_ASSETS_DIR") . '/../');
$log_file = "$GAME_ROOT/build/unity.log";
ensure_rm($log_file);