From 5fdae8d1d49e508eacfd2aa5531f3f3b1495307a Mon Sep 17 00:00:00 2001 From: LittleStudio-Little_Qiu Date: Wed, 14 Jun 2017 13:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A8=B3=E5=AE=9A=E7=89=88?= =?UTF-8?q?=20v1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新检查工具可以自定义更新源且可以检测自身更新了。 --- check-update/version.php | 2 +- settings.php.example | 2 +- update.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/check-update/version.php b/check-update/version.php index 3fb6493..c80ee11 100644 --- a/check-update/version.php +++ b/check-update/version.php @@ -4,7 +4,7 @@ 该文件存储了检查更新用的版本号,请勿随意修改! */ // 主程序版本号 -$version = 1.3; +$version = 1.4; // 检查更新工具版本号 $checkerVersion = 1.2; ?> \ No newline at end of file diff --git a/settings.php.example b/settings.php.example index a42e756..73c7734 100644 --- a/settings.php.example +++ b/settings.php.example @@ -8,5 +8,5 @@ $useUrl = true; // 设置时间(几天前),将 0 修改为你需要的时间,1 为昨天,2 为前天,-1 为明天,以此类推 $daysAgo = '0'; // 设置更新源,更新源列表请看 https://github.com/Minecraft-LittleQiu/laji-bing-pic-api/wiki/%E5%A6%82%E4%BD%95%E6%90%AD%E5%BB%BA%E6%9B%B4%E6%96%B0%E6%BA%90-&-%E6%9B%B4%E6%96%B0%E6%BA%90%E5%88%97%E8%A1%A8 -$updateRepo = 'https://raw.githubusercontent.com/Minecraft-LittleQiu/laji-bing-pic-api/master/update.json'; +$updateRepo = 'https://pastebin.com/raw/mrvb7Pqw'; ?> \ No newline at end of file diff --git a/update.json b/update.json index fa5b711..e2ab539 100644 --- a/update.json +++ b/update.json @@ -1,7 +1,7 @@ { "app_name": "laji-bing-pic-api", - "version": "1.3", - "date": "1497196800", + "version": "1.4", + "date": "1497369600", "checkerVersion": "1.2", "checkerDate": "1497196800" } \ No newline at end of file