mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: disable version check when debug
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1170,6 +1170,7 @@ class Utils {
|
|||||||
|
|
||||||
// 检查更新
|
// 检查更新
|
||||||
static Future checkUpdate([bool isAuto = true]) async {
|
static Future checkUpdate([bool isAuto = true]) async {
|
||||||
|
if (BuildConfig.isDebug) return;
|
||||||
SmartDialog.dismiss();
|
SmartDialog.dismiss();
|
||||||
try {
|
try {
|
||||||
dynamic res = await Request().get(Api.latestApp, extra: {'ua': 'mob'});
|
dynamic res = await Request().get(Api.latestApp, extra: {'ua': 'mob'});
|
||||||
|
|||||||
Reference in New Issue
Block a user