diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ce8178d..3197b45a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,13 +75,13 @@ list(APPEND APP_PLATFORM_OPTION -DBUILD_TAG_VERSION=${GIT_TAG_VERSION} -DBUILD_T project(wiliwili) set(VERSION_MAJOR "1") set(VERSION_MINOR "2") -set(VERSION_REVISION "0") +set(VERSION_REVISION "1") set(VERSION_BUILD "0") set(PROJECT_AUTHOR "xfangfang") set(PACKAGE_NAME cn.xfangfang.wiliwili) set(VITA_TITLEID "WILIWILI0") set(PSN_TITLE_ID "WILI00000") -set(VITA_VERSION "01.20") +set(VITA_VERSION "01.21") set(PROJECT_ICON ${CMAKE_CURRENT_SOURCE_DIR}/resources/icon/icon.jpg) set(PROJECT_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/resources) set(APP_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REVISION}") diff --git a/README.md b/README.md index 3dc23c3b..3f4aaaf3 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ [![Crowdin](https://badges.crowdin.net/wiliwili/localized.svg)](https://crowdin.com/project/wiliwili) ![NS](https://img.shields.io/badge/-Nintendo%20Switch-e4000f?style=flat&logo=Nintendo%20Switch) ![PSV](https://img.shields.io/badge/-PSVita-003791?style=flat&logo=PlayStation) +![PS4](https://img.shields.io/badge/-PS4-003791?style=flat&logo=PlayStation) ![MS](https://img.shields.io/badge/-Windows%207+-357ec7?style=flat&logo=Windows) ![mac](https://img.shields.io/badge/-macOS%2010.11+-black?style=flat&logo=Apple) ![Linux](https://img.shields.io/badge/-Linux-lightgrey?style=flat&logo=Linux&logoColor=white) diff --git a/resources/i18n/zh-Hans/wiliwili.json b/resources/i18n/zh-Hans/wiliwili.json index 8f080d43..4aa03405 100644 --- a/resources/i18n/zh-Hans/wiliwili.json +++ b/resources/i18n/zh-Hans/wiliwili.json @@ -100,7 +100,7 @@ "tab": "关于更多", "brief_header": "软件介绍", "repository": "项目首页", - "brief": "专为手柄控制设计的第三方跨平台B站客户端\n完美复刻官方PC端B站,满足日常使用, 目前可以运行在PC全平台、PSVita 和 Nintendo Switch 上", + "brief": "专为手柄控制设计的第三方跨平台B站客户端\n完美复刻官方PC端B站,满足日常使用, 目前可以运行在PC全平台、PSVita、PS4 和 Nintendo Switch 上", "repo_header": "开源地址", "author_header": "作者发言", "author": "一直想做个艺术家, 可惜程序员都没什么发挥的空间\n直到这个作品诞生,实现了:「在游戏机上看视频;用手机来玩游戏」\n或许算得上是一种行为艺术,这样的话我也就圆满了" diff --git a/resources/i18n/zh-Hant/wiliwili.json b/resources/i18n/zh-Hant/wiliwili.json index 60bc3a43..f79b19ef 100644 --- a/resources/i18n/zh-Hant/wiliwili.json +++ b/resources/i18n/zh-Hant/wiliwili.json @@ -100,7 +100,7 @@ "tab": "關於更多", "brief_header": "軟體介紹", "repository": "專案首頁", - "brief": "專為搖桿控制設計的第三方跨平臺B站客戶端\n完美復刻官方PC端B站,滿足日常使用, 目前可以執行在PC全平臺、PSVita 和 Nintendo Switch 上", + "brief": "專為搖桿控制設計的第三方跨平臺B站客戶端\n完美復刻官方PC端B站,滿足日常使用, 目前可以執行在PC全平臺、PSVita、PS4 和 Nintendo Switch 上", "repo_header": "開源位址", "author_header": "作者發言", "author": "一直想做個藝術家, 可惜程式師都沒什麽發揮的空間\n直到這個作品誕生,實現了:「在遊戲機上看影片;用手機來玩遊戲」\n或許算得上是一種行為藝術,這樣的話我也就圓滿了" diff --git a/scripts/linux/cn.xfangfang.wiliwili.appdata.xml b/scripts/linux/cn.xfangfang.wiliwili.appdata.xml index 2da5273c..47c24bc5 100644 --- a/scripts/linux/cn.xfangfang.wiliwili.appdata.xml +++ b/scripts/linux/cn.xfangfang.wiliwili.appdata.xml @@ -29,7 +29,7 @@ - +

Please See Official Changelog at github.com/xfangfang/wiliwili/releases diff --git a/wiliwili/include/fragment/latest_update.hpp b/wiliwili/include/fragment/latest_update.hpp index 38ebfdd3..e05c8f18 100644 --- a/wiliwili/include/fragment/latest_update.hpp +++ b/wiliwili/include/fragment/latest_update.hpp @@ -49,9 +49,11 @@ class ReleaseNote { }; inline void from_json(const nlohmann::json& nlohmann_json_j, ReleaseNote& nlohmann_json_t) { + if (nlohmann_json_j.contains("reactions")) { + nlohmann_json_j.at("reactions").get_to(nlohmann_json_t.reactions); + } NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_FROM, tag_name, name, - body, published_at, author, - reactions)); + body, published_at, author)); } class LatestUpdate : public brls::Box {