Skip to content

Commit 27ea87d

Browse files
committed
Fix .axproj not load on non windows platforms
1 parent de519d8 commit 27ea87d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/cmdline/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if (!(Test-Path $1k_script -PathType Leaf)) {
9696

9797
$source_proj_dir = if ($options.d) { $options.d } else { $workDir }
9898
$Global:is_axmol_engine = ($source_proj_dir -eq $AX_ROOT)
99-
$Global:is_axmol_app = !!(Get-ChildItem (Join-Path $source_proj_dir '.axproj*'))
99+
$Global:is_axmol_app = !!(Get-ChildItem (Join-Path $source_proj_dir '.axproj*') -Force)
100100
$is_android = $options.p -eq 'android'
101101

102102
if($Global:is_axmol_app) {

0 commit comments

Comments
 (0)