Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gwleuverink/nativephp-electron
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 16, 2025
2 parents fa53b11 + b8eacfc commit 0ad11cf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

namespace Native\Electron\Commands;

use Illuminate\Support\Str;
use Illuminate\Console\Command;
use function Laravel\Prompts\intro;
use Native\Electron\Facades\Updater;
use Native\Electron\Traits\OsAndArch;
use Illuminate\Support\Facades\Process;
use Native\Electron\Traits\SetsAppName;
use Native\Electron\Traits\CleansEnvFile;
use Native\Electron\Traits\InstallsAppIcon;
use Native\Electron\Traits\LocatesPhpBinary;

use Native\Electron\Traits\PrunesVendorDirectory;
use Illuminate\Support\Str;
use Native\Electron\Facades\Updater;
use Native\Electron\Traits\CopiesToBuildDirectory;
use Native\Electron\Traits\OsAndArch;

use function Laravel\Prompts\intro;

class BuildCommand extends Command
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/CleansEnvFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trait CleansEnvFile
const OVERRIDE_KEYS = [
'LOG_CHANNEL',
'LOG_STACK',
'LOG_DAILY_DAYS'
'LOG_DAILY_DAYS',
];

abstract protected function buildPath(): string;
Expand Down
6 changes: 3 additions & 3 deletions src/Traits/CopiesToBuildDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

namespace Native\Electron\Traits;

use RecursiveIteratorIterator;
use RecursiveDirectoryIterator;

use RecursiveCallbackFilterIterator;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use Symfony\Component\Filesystem\Filesystem;


trait CopiesToBuildDirectory
{
abstract protected function buildPath(): string;
Expand Down
2 changes: 2 additions & 0 deletions src/Traits/PrunesVendorDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
use Illuminate\Support\Facades\Process;
use Symfony\Component\Filesystem\Filesystem;

use function Laravel\Prompts\intro;

trait PrunesVendorDirectory
{
abstract protected function buildPath(): string;
Expand Down

0 comments on commit 0ad11cf

Please sign in to comment.