Skip to content

Commit 4a8f78b

Browse files
authored
Merge branch 'main' into l12-compatibility
2 parents 25af01f + d978aa5 commit 4a8f78b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/run-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
- laravel: 10.*
2424
testbench: ^8.18
2525
carbon: ^2.67
26-
laravel-package-tools: ^1.16
26+
laravel-package-tools: ^1.16.4
2727
collision: 7.*
2828
- laravel: 11.*
2929
testbench: 9.*
30-
carbon: ^2.67|^3.0
31-
laravel-package-tools: ^1.16
30+
carbon: "^2.67|^3.0"
31+
laravel-package-tools: ^1.16.4
3232
collision: ^8.1.1
3333
exclude:
3434
- laravel: 11.*

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"php": "^8.1",
3535
"illuminate/contracts": "^10.0|^11.0|^12.0",
3636
"laravel/prompts": "^0.1.1|^0.2|^0.3",
37-
"nativephp/laravel": "^1.0",
37+
"nativephp/laravel": "^1.0@beta",
3838
"nativephp/php-bin": "^0.5.1",
39-
"spatie/laravel-package-tools": "^1.14.0"
39+
"spatie/laravel-package-tools": "^1.16.4"
4040
},
4141
"require-dev": {
4242
"laravel/pint": "^1.0",

src/Commands/BuildCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Native\Electron\Facades\Updater;
1010
use Native\Electron\Traits\InstallsAppIcon;
1111
use Native\Electron\Traits\OsAndArch;
12+
use Symfony\Component\Process\Process as SymfonyProcess;
1213

1314
class BuildCommand extends Command
1415
{
@@ -60,7 +61,7 @@ public function handle(): void
6061
Process::path(__DIR__.'/../../resources/js/')
6162
->env($this->getEnvironmentVariables())
6263
->forever()
63-
->tty(PHP_OS_FAMILY != 'Windows' && ! $this->option('no-interaction'))
64+
->tty(SymfonyProcess::isTtySupported() && ! $this->option('no-interaction'))
6465
->run("npm run {$buildCommand}:{$os}", function (string $type, string $output) {
6566
echo $output;
6667
});

0 commit comments

Comments
 (0)