guess_unity_app_dir fix for linux
Publish PHP Package / docker (push) Successful in 7s
Details
Publish PHP Package / docker (push) Successful in 7s
Details
This commit is contained in:
parent
eebc83e8a7
commit
5ae5b81992
|
@ -175,6 +175,8 @@ function guess_unity_app_dir()
|
|||
$path = "/Applications/Unity/";
|
||||
if(is_win())
|
||||
$path = getenv("ProgramFiles")."/Unity/";
|
||||
else if(is_linux())
|
||||
$path = getenv("HOME")."/Unity/";
|
||||
|
||||
$proj_version_file = $GAME_ROOT.'/unity/ProjectSettings/ProjectVersion.txt';
|
||||
if(is_file($proj_version_file))
|
||||
|
|
Loading…
Reference in New Issue