Skip to content

Commit

Permalink
Merge pull request #1 from Ahmed-Elbanna-Git/master
Browse files Browse the repository at this point in the history
update name space on file copy and migration on service provider
  • Loading branch information
3x1io authored Feb 7, 2023
2 parents 4d1e805 + c1ff927 commit 61a6b27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/Console/TomatoChatInstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public function handle()
{
$this->info('Publish Vendor Assets');
$this->callSilent('optimize:clear');
$this->handelFile('resource/css/app.css', resource_path('/css/app.css'));
$this->handelFile('resource/js/app.js', resource_path('/js/app.js'));
$this->handelFile('resource/js/bootstrap.js', resource_path('/js/bootstrap.js'));
$this->handelFile('resource/css/light.mode.css', resource_path('/css/light.mode.css'));
$this->handelFile('resource/css/style.css', resource_path('/css/style.css'));
$this->handelFile('/resource/css/app.css', resource_path('/css/app.css'));
$this->handelFile('/resource/js/app.js', resource_path('/js/app.js'));
$this->handelFile('/resource/js/bootstrap.js', resource_path('/js/bootstrap.js'));
$this->handelFile('/resource/css/light.mode.css', resource_path('/css/light.mode.css'));
$this->handelFile('/resource/css/style.css', resource_path('/css/style.css'));
$this->yarnCommand(['add', 'agora-rtc-sdk-ng', 'pusher-js', 'autosize', 'nprogress', 'jquery']);
$this->yarnCommand(['install']);
$this->yarnCommand(['build']);
Expand Down
10 changes: 5 additions & 5 deletions src/TomatoChatServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ public function boot(): void
// Migrations
$this->publishes([
__DIR__ . '/../database/migrations/2022_01_10_99999_add_active_status_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_active_status_to_users.php'),
__DIR__ . '/database/migrations/2022_01_10_99999_add_avatar_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_avatar_to_users.php'),
__DIR__ . '/database/migrations/2022_01_10_99999_add_dark_mode_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_dark_mode_to_users.php'),
__DIR__ . '/database/migrations/2022_01_10_99999_add_messenger_color_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_messenger_color_to_users.php'),
__DIR__ . '/database/migrations/2022_01_10_99999_create_favorites_table.php' => database_path('migrations/' . date('Y_m_d') . '_999999_create_favorites_table.php'),
__DIR__ . '/database/migrations/2022_01_10_99999_create_messages_table.php' => database_path('migrations/' . date('Y_m_d') . '_999999_create_messages_table.php'),
__DIR__ . '/../database/migrations/2022_01_10_99999_add_avatar_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_avatar_to_users.php'),
__DIR__ . '/../database/migrations/2022_01_10_99999_add_dark_mode_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_dark_mode_to_users.php'),
__DIR__ . '/../database/migrations/2022_01_10_99999_add_messenger_color_to_users.php' => database_path('migrations/' . date('Y_m_d') . '_999999_add_messenger_color_to_users.php'),
__DIR__ . '/../database/migrations/2022_01_10_99999_create_favorites_table.php' => database_path('migrations/' . date('Y_m_d') . '_999999_create_favorites_table.php'),
__DIR__ . '/../database/migrations/2022_01_10_99999_create_messages_table.php' => database_path('migrations/' . date('Y_m_d') . '_999999_create_messages_table.php'),
], 'tomato-chat-migrations');

// Models
Expand Down

0 comments on commit 61a6b27

Please sign in to comment.