update to v3.2-pr8

This commit is contained in:
printempw 2016-12-31 23:50:37 +08:00
parent 4ae6d868bb
commit 9be6c356d2
3 changed files with 25 additions and 2 deletions

View File

@ -9,7 +9,7 @@ return [
| Version of Blessing Skin Server
|
*/
'version' => '3.2-pr7',
'version' => '3.2-pr8',
/*
|--------------------------------------------------------------------------

View File

@ -0,0 +1,23 @@
<?php
/**
* @Author: printempw
* @Date: 2016-12-31 23:37:34
* @Last Modified by: printempw
* @Last Modified time: 2016-12-31 23:49:39
*/
if (!Illuminate\Support\Str::startsWith(option('update_source'), 'http')) {
Option::set('update_source', config('options.update_source'));
}
foreach (config('options') as $key => $value) {
if ($value === "true" || $value === "false") {
$option = option($key);
if ($option === "0" || $option === "1") {
Option::set([$key => ($option === "0" ? "false" : "true")]);
}
}
}
Option::set('version', '3.2-pr8');

View File

@ -1,6 +1,6 @@
{
"name": "blessing-skin-server",
"version": "3.2.0-pr7",
"version": "3.2.0-pr8",
"description": "Just a simple open-source Minecraft skin server written in PHP.",
"repository": {
"type": "git",