New default home page background

This commit is contained in:
Pig Fang 2019-11-27 15:06:09 +08:00
parent 66c3c016f7
commit 6aa458c95b
5 changed files with 6 additions and 2 deletions

View File

@ -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',

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

View File

@ -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