Skip to content

Commit e9c1310

Browse files
committed
Move hiddeninput.exe to Resources/bin
1 parent 75ec033 commit e9c1310

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: Helper/DialogHelper.php

+2-2
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
}

Diff for: README.md

+2-2
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
---------
File renamed without changes.

0 commit comments

Comments
 (0)