From b010f75d6721789f1375f49dadca0f26603a92ce Mon Sep 17 00:00:00 2001 From: wrenge Date: Wed, 1 Jun 2022 15:01:42 +0300 Subject: [PATCH] Fixed build project path --- CHANGELOG.md | 4 ++++ unity.inc.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a4b40a..cd0f54a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/unity.inc.php b/unity.inc.php index fb6e814..e5e57c9 100644 --- a/unity.inc.php +++ b/unity.inc.php @@ -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);