New default home page background
This commit is contained in:
parent
66c3c016f7
commit
6aa458c95b
|
|
@ -12,7 +12,7 @@ return [
|
|||
'api_type' => 'false',
|
||||
'announcement' => 'Welcome to Blessing Skin {version}!',
|
||||
'color_scheme' => 'skin-blue',
|
||||
'home_pic_url' => './app/bg.jpg',
|
||||
'home_pic_url' => './app/bg.png',
|
||||
'custom_css' => '',
|
||||
'custom_js' => '',
|
||||
'player_name_rule' => 'official',
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<?php
|
||||
|
||||
Artisan::call('migrate', ['--force' => true]);
|
||||
|
||||
if (option('home_pic_url') === './app/bg.jpg') {
|
||||
option(['home_pic_url' => './app/bg.png']);
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 518 KiB |
BIN
resources/assets/src/images/bg.png
Normal file
BIN
resources/assets/src/images/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 425 KiB |
|
|
@ -18,7 +18,7 @@ if ($Simple) {
|
|||
}
|
||||
|
||||
# Copy static files
|
||||
Copy-Item -Path ./resources/assets/src/images/bg.jpg -Destination ./public/app
|
||||
Copy-Item -Path ./resources/assets/src/images/bg.png -Destination ./public/app
|
||||
Copy-Item -Path ./resources/assets/src/images/favicon.ico -Destination ./public/app
|
||||
Write-Host 'Static files copied.' -ForegroundColor Green
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user