File tree Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ jobs:
29
29
node-version : 22.x
30
30
31
31
- name : Install dependencies
32
- working-directory : ./resources/js /
32
+ working-directory : ./resources/electron /
33
33
run : npm install
34
34
35
35
- name : Build plugin
36
- working-directory : ./resources/js /
36
+ working-directory : ./resources/electron /
37
37
run : npm run plugin:build
38
38
39
39
- name : Commit changes
Original file line number Diff line number Diff line change 18
18
node-version : 22.x
19
19
20
20
- name : Install dependencies
21
- working-directory : ./resources/js /
21
+ working-directory : ./resources/electron /
22
22
run : npm install
23
23
24
24
- name : Run tests
25
- working-directory : ./resources/js /
25
+ working-directory : ./resources/electron /
26
26
run : npm run plugin:test
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ testbench.yaml
9
9
vendor
10
10
node_modules
11
11
.DS_Store
12
- resources /js /* .log
12
+ resources /electron /* .log
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ private function addFilesToZip(ZipArchive $zip): void
267
267
$ vendor = (new Finder )->files ()
268
268
->exclude (array_filter ([
269
269
'nativephp/php-bin ' ,
270
- 'nativephp/electron/resources/js ' ,
270
+ 'nativephp/electron/resources/electron ' ,
271
271
'*/*/vendor ' , // Exclude sub-vendor directories
272
272
$ binaryPath ,
273
273
]))
Original file line number Diff line number Diff line change 15
15
16
16
class ElectronServiceProvider extends PackageServiceProvider
17
17
{
18
- const ELECTRON_PATH = __DIR__ .'/../../resources/js ' ;
18
+ const ELECTRON_PATH = __DIR__ .'/../../resources/electron ' ;
19
19
20
20
public function configurePackage (Package $ package ): void
21
21
{
Original file line number Diff line number Diff line change 3
3
namespace Native \Electron \Traits ;
4
4
5
5
use Illuminate \Support \Facades \Process ;
6
+ use Native \Electron \ElectronServiceProvider ;
6
7
7
8
use function Laravel \Prompts \note ;
8
9
@@ -32,7 +33,7 @@ protected function executeCommand(
32
33
33
34
note ('Fetching latest dependencies… ' );
34
35
35
- Process::path (__DIR__ . ' /../../../resources/js/ ' )
36
+ Process::path (ElectronServiceProvider:: ELECTRON_PATH )
36
37
->env ($ envs [$ type ])
37
38
->forever ()
38
39
->tty (! $ withoutInteraction && PHP_OS_FAMILY != 'Windows ' )
You can’t perform that action at this time.
0 commit comments