8000 Move `hiddeninput.exe` to Resources/bin · symfony/symfony@aefa495 · GitHub
[go: up one dir, main page]

Skip to content

Commit aefa495

Browse files
committed
Move hiddeninput.exe to Resources/bin
1 parent c0f8a63 commit aefa495

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/Console/Helper/DialogHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ public function askConfirmation(OutputInterface $output, $question, $default = t
8787
public function askHiddenResponse(OutputInterface $output, $question, $fallback = true)
8888
{
8989
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
90-
$exe = __DIR__ . '/hiddeninput.exe';
90+
$exe = __DIR__ . '/../../Resources/bin/hiddeninput.exe';
9191

9292
// handle code running from a phar
9393
if ('phar:' === substr(__FILE__, 0, 5)) {
94-
$tmpExe = sys_get_temp_dir() . '/hiddeninput.exe';
94+
$tmpExe = sys_get_temp_dir() . '/../../Resources/bin/hiddeninput.exe';
9595
copy($exe, $tmpExe);
9696
$exe = $tmpExe;
9797
}

src/Symfony/Component/Console/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ You can run the unit tests with the following command:
5050
Third Party
5151
-----------
5252

53-
`hiddeninput.exe` third party binary is provided within this component. Find
54-
sources and license at https://github.com/Seldaek/hidden-input.
53+
`Resources/bin/hiddeninput.exe` is a third party binary provided within this
54+
component. Find sources and license at https://github.com/Seldaek/hidden-input.
5555

5656
Resources
5757
---------

0 commit comments

Comments
 (0)
0