From b4bb9debf0193e6d614e264c9db43871aa19734e Mon Sep 17 00:00:00 2001 From: gwleuverink Date: Tue, 4 Nov 2025 12:59:47 +0100 Subject: [PATCH] add relative electron path to debug output --- src/Commands/DebugCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Commands/DebugCommand.php b/src/Commands/DebugCommand.php index 1c489c2c..c640dde7 100644 --- a/src/Commands/DebugCommand.php +++ b/src/Commands/DebugCommand.php @@ -8,6 +8,7 @@ use Illuminate\Support\Collection; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Process; +use Native\Desktop\Drivers\Electron\ElectronServiceProvider; use Native\Desktop\Support\Environment; use Symfony\Component\Console\Attribute\AsCommand; @@ -82,6 +83,7 @@ private function processEnvironment(): static 'Path' => trim(Process::run("$locationCommand npm")->output()), ], 'OperatingSystem' => PHP_OS, + 'ElectronRoot' => str_replace(base_path(DIRECTORY_SEPARATOR), '', ElectronServiceProvider::electronPath()), ]; $this->debugInfo->put('Environment', $environment);