From 184480e3d408fce6fd9aacca3313b8f649a8e062 Mon Sep 17 00:00:00 2001 From: XTxiaoting14332 Date: Sun, 12 Jan 2025 11:49:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8Fv1.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RELEASE_CHANGELOG.md | 5 +-- changelog.txt | 3 +- lib/main.dart | 4 +-- pubspec.lock | 74 +++++++++++++++++++++++++++++++++++++++++++- pubspec.yaml | 3 +- 5 files changed, 82 insertions(+), 7 deletions(-) diff --git a/RELEASE_CHANGELOG.md b/RELEASE_CHANGELOG.md index cfe95c0..b713d6a 100644 --- a/RELEASE_CHANGELOG.md +++ b/RELEASE_CHANGELOG.md @@ -1,3 +1,4 @@ -## 🌈ChangeLog 2024.12.11 🤯 +## 🌈ChangeLog 2025.01.12 🤯 by @XTxiaoting14332 -将hub.xb6868.com改为hub.myxuebi.top \ No newline at end of file +Bot路径找不到时弹窗提示 +修复插件启用/禁用后 pyproject.toml 被改格式的问题 \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index 333b539..d082334 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1 +1,2 @@ -将hub.xb6868.com改为hub.myxuebi.top \ No newline at end of file +Bot路径找不到时弹窗提示 +修复插件启用/禁用后 pyproject.toml 被改格式的问题 \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index a9756d6..78a4c62 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -34,7 +34,7 @@ void main() async { MainApp.nbLog = '[INFO]Welcome to NoneBot GUI!'; MainApp.protocolLog = '[INFO]Welcome to NoneBot GUI!'; MainApp.barExtended = false; - MainApp.version = 'v1.1.1+5'; + MainApp.version = 'v1.1.2'; FlutterError.onError = (FlutterErrorDetails details) async { DateTime now = DateTime.now(); String timestamp = now.toIso8601String(); @@ -734,7 +734,7 @@ class _HomeScreenState extends State child: InkWell( onTap: () { gOnOpen = '$name.$time'; - if (File(Bot.path()).existsSync()) { + if (Directory(Bot.path()).existsSync()) { createLog(path); setState(() { loadFileContent(); diff --git a/pubspec.lock b/pubspec.lock index 388e376..e0bc05e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -185,6 +185,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "8.0.3" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.1" flutter: dependency: "direct main" description: flutter @@ -222,6 +230,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.18" + flutter_svg: + dependency: "direct main" + description: + name: flutter_svg + sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.10+1" flutter_test: dependency: "direct dev" description: flutter @@ -296,6 +312,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "3.0.0" + local_notifier: + dependency: "direct main" + description: + name: local_notifier + sha256: f6cfc933c6fbc961f4e52b5c880f68e41b2d3cd29aad557cc654fd211093a025 + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.1.6" markdown: dependency: transitive description: @@ -337,13 +361,21 @@ packages: source: hosted version: "1.11.0" path: - dependency: transitive + dependency: "direct main" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.flutter-io.cn" source: hosted version: "1.9.0" + path_parsing: + dependency: transitive + description: + name: path_parsing + sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.0" path_provider: dependency: "direct main" description: @@ -445,6 +477,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.10.0" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.flutter-io.cn" + source: hosted + version: "7.0.0" stack_trace: dependency: transitive description: @@ -573,6 +613,38 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "3.1.1" + uuid: + dependency: transitive + description: + name: uuid + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff + url: "https://pub.flutter-io.cn" + source: hosted + version: "4.5.1" + vector_graphics: + dependency: transitive + description: + name: vector_graphics + sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.11+1" + vector_graphics_codec: + dependency: transitive + description: + name: vector_graphics_codec + sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.11+1" + vector_graphics_compiler: + dependency: transitive + description: + name: vector_graphics_compiler + sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.11+1" vector_math: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index d067886..f0f2e2c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.1.1+5 +version: 1.1.2 environment: sdk: '>=3.3.1 <4.0.0' @@ -49,6 +49,7 @@ dependencies: watcher: ^1.1.0 flutter_svg: ^2.0.10+1 local_notifier: ^0.1.6 + path: ^1.9.0 dev_dependencies: flutter_test: