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:
2929 node-version : 22.x
3030
3131 - name : Install dependencies
32- working-directory : ./resources/js /
32+ working-directory : ./resources/electron /
3333 run : npm install
3434
3535 - name : Build plugin
36- working-directory : ./resources/js /
36+ working-directory : ./resources/electron /
3737 run : npm run plugin:build
3838
3939 - name : Commit changes
Original file line number Diff line number Diff line change 1818 node-version : 22.x
1919
2020 - name : Install dependencies
21- working-directory : ./resources/js /
21+ working-directory : ./resources/electron /
2222 run : npm install
2323
2424 - name : Run tests
25- working-directory : ./resources/js /
25+ working-directory : ./resources/electron /
2626 run : npm run plugin:test
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ testbench.yaml
99vendor
1010node_modules
1111.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
267267 $ vendor = (new Finder )->files ()
268268 ->exclude (array_filter ([
269269 'nativephp/php-bin ' ,
270- 'nativephp/electron/resources/js ' ,
270+ 'nativephp/electron/resources/electron ' ,
271271 '*/*/vendor ' , // Exclude sub-vendor directories
272272 $ binaryPath ,
273273 ]))
Original file line number Diff line number Diff line change 1515
1616class ElectronServiceProvider extends PackageServiceProvider
1717{
18- const ELECTRON_PATH = __DIR__ .'/../../resources/js ' ;
18+ const ELECTRON_PATH = __DIR__ .'/../../resources/electron ' ;
1919
2020 public function configurePackage (Package $ package ): void
2121 {
Original file line number Diff line number Diff line change 33namespace Native \Electron \Traits ;
44
55use Illuminate \Support \Facades \Process ;
6+ use Native \Electron \ElectronServiceProvider ;
67
78use function Laravel \Prompts \note ;
89
@@ -32,7 +33,7 @@ protected function executeCommand(
3233
3334 note ('Fetching latest dependencies… ' );
3435
35- Process::path (__DIR__ . ' /../../../resources/js/ ' )
36+ Process::path (ElectronServiceProvider:: ELECTRON_PATH )
3637 ->env ($ envs [$ type ])
3738 ->forever ()
3839 ->tty (! $ withoutInteraction && PHP_OS_FAMILY != 'Windows ' )
You can’t perform that action at this time.
0 commit comments