File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ public function __construct()
37
37
public function handle ()
38
38
{
39
39
$ this ->info ('🍅 Publish Vendor Assets ' );
40
- $ this ->call ('vendor:publish ' , ['--provider ' => 'TomatoPHP\TomatoBackup\TomatoBackupServiceProvider ' ]);
41
40
$ this ->artisanCommand (["migrate " ]);
42
41
$ this ->artisanCommand (["optimize:clear " ]);
43
42
$ this ->info ('🍅 Tomato Backup installed successfully. ' );
Original file line number Diff line number Diff line change @@ -24,31 +24,31 @@ public function register(): void
24
24
//Publish Config
25
25
$ this ->publishes ([
26
26
__DIR__ .'/../config/tomato-backup.php ' => config_path ('tomato-backup.php ' ),
27
- ], 'config ' );
27
+ ], 'tomato-backup- config ' );
28
28
29
29
//Register Migrations
30
30
$ this ->loadMigrationsFrom (__DIR__ .'/../database/migrations ' );
31
31
32
32
//Publish Migrations
33
33
$ this ->publishes ([
34
34
__DIR__ .'/../database/migrations ' => database_path ('migrations ' ),
35
- ], 'migrations ' );
35
+ ], 'tomato-backup- migrations ' );
36
36
37
37
//Register views
38
38
$ this ->loadViewsFrom (__DIR__ .'/../resources/views ' , 'tomato-backup ' );
39
39
40
40
//Publish Views
41
41
$ this ->publishes ([
42
42
__DIR__ .'/../resources/views ' => resource_path ('views/vendor/tomato-backup ' ),
43
- ], 'views ' );
43
+ ], 'tomato-backup- views ' );
44
44
45
45
//Register Langs
46
46
$ this ->loadTranslationsFrom (__DIR__ .'/../resources/lang ' , 'tomato-backup ' );
47
47
48
48
//Publish Lang
49
49
$ this ->publishes ([
50
- __DIR__ .'/../resources/lang ' => resource_path ('lang/vendor/tomato-backup ' ),
51
- ], 'lang ' );
50
+ __DIR__ .'/../resources/lang ' => app_path ('lang/vendor/tomato-backup ' ),
51
+ ], 'tomato-backup- lang ' );
52
52
53
53
//Register Routes
54
54
$ this ->loadRoutesFrom (__DIR__ .'/../routes/web.php ' );
You can’t perform that action at this time.
0 commit comments