@@ -18,11 +18,11 @@ public function handle()
1818
1919 $ this ->info ('Fetching latest dependencies… ' );
2020
21- if (!$ this ->option ('no-dependencies ' )) {
22- Process::path (__DIR__ . '/../../resources/js/ ' )
21+ if (! $ this ->option ('no-dependencies ' )) {
22+ Process::path (__DIR__ . '/../../resources/js/ ' )
2323 ->env ([
2424 'NATIVEPHP_PHP_BINARY_PATH ' => base_path ($ this ->phpBinaryPath ()),
25- 'NATIVEPHP_CERTIFICATE_FILE_PATH ' => base_path ($ this ->binaryPackageDirectory () . 'cacert.pem ' ),
25+ 'NATIVEPHP_CERTIFICATE_FILE_PATH ' => base_path ($ this ->binaryPackageDirectory (). 'cacert.pem ' ),
2626 ])
2727 ->forever ()
2828 ->run ('npm install ' , function (string $ type , string $ output ) {
@@ -38,11 +38,11 @@ public function handle()
3838 $ this ->patchPlist ();
3939 }
4040
41- Process::path (__DIR__ . '/../../resources/js/ ' )
41+ Process::path (__DIR__ . '/../../resources/js/ ' )
4242 ->env ([
4343 'APP_PATH ' => base_path (),
4444 'NATIVEPHP_PHP_BINARY_PATH ' => base_path ($ this ->phpBinaryPath ()),
45- 'NATIVEPHP_CERTIFICATE_FILE_PATH ' => base_path ($ this ->binaryPackageDirectory () . 'cacert.pem ' ),
45+ 'NATIVEPHP_CERTIFICATE_FILE_PATH ' => base_path ($ this ->binaryPackageDirectory (). 'cacert.pem ' ),
4646 'NATIVE_PHP_SKIP_QUEUE ' => $ this ->option ('no-queue ' ) ? true : false ,
4747 ])
4848 ->forever ()
@@ -62,15 +62,15 @@ public function handle()
6262 */
6363 protected function patchPlist ()
6464 {
65- $ pList = file_get_contents (__DIR__ . '/../../resources/js/node_modules/electron/dist/Electron.app/Contents/Info.plist ' );
65+ $ pList = file_get_contents (__DIR__ . '/../../resources/js/node_modules/electron/dist/Electron.app/Contents/Info.plist ' );
6666
6767 // Change the CFBundleName to the correct app name
6868 $ pattern = '/(<key>CFBundleName<\/key>\s+<string>)(.*?)(<\/string>)/m ' ;
69- $ pList = preg_replace ($ pattern , '$1 ' . config ('app.name ' ) . '$3 ' , $ pList );
69+ $ pList = preg_replace ($ pattern , '$1 ' . config ('app.name ' ). '$3 ' , $ pList );
7070
7171 $ pattern = '/(<key>CFBundleDisplayName<\/key>\s+<string>)(.*?)(<\/string>)/m ' ;
72- $ pList = preg_replace ($ pattern , '$1 ' . config ('app.name ' ) . '$3 ' , $ pList );
72+ $ pList = preg_replace ($ pattern , '$1 ' . config ('app.name ' ). '$3 ' , $ pList );
7373
74- file_put_contents (__DIR__ . '/../../resources/js/node_modules/electron/dist/Electron.app/Contents/Info.plist ' , $ pList );
74+ file_put_contents (__DIR__ . '/../../resources/js/node_modules/electron/dist/Electron.app/Contents/Info.plist ' , $ pList );
7575 }
7676}
0 commit comments