Skip to content

Commit 8d2bde7

Browse files
author
Pete Bishop
committed
Add PHP Binary Path to config
1 parent 9ea8cf6 commit 8d2bde7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/nativephp-internal.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,9 @@
3838
'apple_id_pass' => env('NATIVEPHP_APPLE_ID_PASS'),
3939
'apple_team_id' => env('NATIVEPHP_APPLE_TEAM_ID'),
4040
],
41+
42+
/**
43+
* The binary path of PHP for NativePHP to use at build.
44+
*/
45+
'php_binary_path' => env('NATIVEPHP_PHP_BINARY_PATH'),
4146
];

src/Commands/DebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private function processNativePHP(): static
117117
'Post' => config('nativephp.postbuild'),
118118
],
119119
'NotarizationEnabled' => $isNotarizationConfigured,
120-
'CustomPHPBinary' => env('NATIVEPHP_PHP_BINARY_PATH') ?: false,
120+
'CustomPHPBinary' => config('nativephp-internal.php_binary_path') ?? false,
121121
],
122122
]
123123
);

0 commit comments

Comments
 (0)