Compare commits

...

3 Commits

Author SHA1 Message Date
Alexey Chubar 54694eaed0 Edited changelog
Publish PHP Package / docker (push) Successful in 6s Details
2025-03-13 19:46:05 +07:00
Alexey Chubar c4be07e36e Edited changelog 2025-03-13 19:32:09 +07:00
Alexey Chubar d73f06fec8 Added unity helper method 2025-03-13 19:07:33 +07:00
2 changed files with 19 additions and 2 deletions

View File

@ -1,10 +1,13 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [1.0.21] - 2025-03-13
### Fixed
- Added helper methods, fixed Linux
## [1.0.5] - 2022-08-09 ## [1.0.5] - 2022-08-09
### Fixed ### Fixed
- Unity task on windows not working - Unity task on windows not working
@ -18,4 +21,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- A changelog. Cuz why not? :D - A changelog. Cuz why not? :D
### Fixed ### Fixed
- Task unity now uses proper folder from propery - Task unity now uses proper folder from propery

View File

@ -197,6 +197,20 @@ function get_unity_dir()
return "$app_dir/Unity.app/Contents/"; return "$app_dir/Unity.app/Contents/";
} }
function unity_build_cmd($shared_cmd)
{
$app_dir = get('UNITY_APP_DIR');
if(is_win())
$cmd = "\"$app_dir/Editor/Unity.exe\" $shared_cmd";
else if(is_linux())
$cmd = "\"$app_dir/Editor/Unity\" $shared_cmd";
else
$cmd = "$app_dir/Unity.app/Contents/MacOS/Unity $shared_cmd";
return $cmd;
}
function mono_mcs_bin() function mono_mcs_bin()
{ {
if(!get("USE_UNITY_MONO")) if(!get("USE_UNITY_MONO"))