diff --git a/app/Commands/ShareCommand.php b/app/Commands/ShareCommand.php index c3f3a9a..81c8bde 100644 --- a/app/Commands/ShareCommand.php +++ b/app/Commands/ShareCommand.php @@ -40,7 +40,6 @@ public function handle() terminal()->clear(); banner(); - $this->ensureEnvironmentSetup(); $this->ensureExposeSetup(); info("Expose version v" . config('app.version'), options: OutputInterface::VERBOSITY_VERBOSE); @@ -162,30 +161,6 @@ protected function detectOperatingSystem(): void $this->isWindows = strpos(php_uname('s'), 'Windows') !== false; } - protected function ensureEnvironmentSetup(): void - { - if (!$this->isWindows()) { - return; - } - if (!$this->isWmicAvailable()) { - error('The "wmic" command is not available on this Windows machine.'); - error( - 'Please refer to the documentation for more information: https://expose.dev/docs/troubleshooting', - abort: true - ); - } - } - - protected function isWmicAvailable(): bool - { - $output = []; - $exitCode = 0; - - exec('wmic /?', $output, $exitCode); - - return $exitCode === 0; - } - protected function isWindows(): bool { if ($this->isWindows === null) { diff --git a/builds/expose b/builds/expose index ae26380..9bc5d43 100755 Binary files a/builds/expose and b/builds/expose differ diff --git a/builds/expose.phar b/builds/expose.phar index ae26380..9bc5d43 100755 Binary files a/builds/expose.phar and b/builds/expose.phar differ diff --git a/composer.json b/composer.json index c3e11fc..0f3c6bd 100644 --- a/composer.json +++ b/composer.json @@ -53,7 +53,8 @@ "nyholm/psr7": "^1.3", "octoper/cuzzle": "dev-master", "phpunit/phpunit": "^10.5.1", - "react/async": "^4.3" + "react/async": "^4.3", + "react/dns": "1.x-dev" }, "config": { "optimize-autoloader": true, @@ -71,6 +72,10 @@ } }, "repositories": [ + { + "type": "git", + "url": "https://github.com/beyondcode/react-dns" + }, { "type": "git", "url": "https://github.com/beyondcode/pawl" diff --git a/config/app.php b/config/app.php index 73e1d22..b800194 100644 --- a/config/app.php +++ b/config/app.php @@ -26,7 +26,7 @@ | */ - 'version' => '3.2.0', + 'version' => '3.2.1', /* |--------------------------------------------------------------------------