Skip to content

Commit

Permalink
add(new version)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchuancong committed Dec 11, 2023
1 parent 0141357 commit 63a057e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 33 deletions.
4 changes: 2 additions & 2 deletions assets/version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.5.0",
"version": "1.5.1",
"version_num": 10500,
"version_desc": "-Add:添加自定义站点,分区内添加,长按编辑。\n-Fix:添加搜索标题。\n-Fix:修复M3u关注下名称显示",
"version_desc": "-Delete:删除自定义站点.\n-Fix:修复搜索\n-Fix:修复直播观看不显示刷新提升\n-Fix优化平板显示\n-Fix优化webServer以及手机以及pad默认关闭,tv自动打开",
"prerelease":false,
"download_url": "https://github.com/liuchuancong/pure_live/releases"
}
2 changes: 1 addition & 1 deletion lib/common/utils/version_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:convert';
import 'package:http/http.dart' as http;

class VersionUtil {
static const String version = '1.5.0';
static const String version = '1.5.1';
static const String projectUrl = 'https://github.com/liuchuancong/pure_live';
static const String releaseUrl = 'https://api.github.com/repos/liuchuancong/pure_live/releases';
static const String issuesUrl = 'https://github.com/liuchuancong/pure_live/issues';
Expand Down
2 changes: 0 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:get/get.dart';
import 'package:flutter/services.dart';
import 'package:pure_live/common/index.dart';
import 'package:pure_live/plugins/global.dart';
import 'package:webview_win_floating/webview.dart';
import 'package:pure_live/plugins/screen_device.dart';
import 'package:pure_live/plugins/file_recover_utils.dart';
import 'package:pure_live/common/services/bilibili_account_service.dart';
Expand All @@ -14,7 +13,6 @@ const kWindowsScheme = 'purelive://signin';

void main(List<String> args) async {
WidgetsFlutterBinding.ensureInitialized();
WindowsWebViewPlatform.registerWith();
JsEngine.init();
PrefUtil.prefs = await SharedPreferences.getInstance();
MediaKit.ensureInitialized();
Expand Down
18 changes: 1 addition & 17 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.6.0"
fullscreen_window:
dependency: transitive
description:
name: fullscreen_window
sha256: fe3014f91bff16a82d142ba9d834980b8a84b4bb03347a92588d389ad92bd1d3
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.4"
functions_client:
dependency: transitive
description:
Expand Down Expand Up @@ -1631,7 +1623,7 @@ packages:
source: hosted
version: "2.4.0"
webview_flutter:
dependency: "direct main"
dependency: transitive
description:
name: webview_flutter
sha256: "42393b4492e629aa3a88618530a4a00de8bb46e50e7b3993fedbfdc5352f0dbf"
Expand Down Expand Up @@ -1662,14 +1654,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.9.4"
webview_win_floating:
dependency: "direct main"
description:
name: webview_win_floating
sha256: cb1bff0fcfca9b7aa5159b95c96b8810ccd1c2c9feee1666549f5910c87c4b1a
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.2.2"
win32:
dependency: transitive
description:
Expand Down
4 changes: 1 addition & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.0
version: 1.5.1

environment:
sdk: '>=3.0.6 <4.0.0'
Expand All @@ -39,8 +39,6 @@ dependencies:
flutter_js: ^0.8.0
html: ^0.15.4
http: ^1.1.0
webview_win_floating: ^2.2.2
webview_flutter: ^4.0.1
url_launcher: ^6.1.12
web_socket_channel: ^2.4.0
cached_network_image: ^3.3.0
Expand Down
6 changes: 0 additions & 6 deletions windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@
#include <dynamic_color/dynamic_color_plugin_c_api.h>
#include <flutter_js/flutter_js_plugin.h>
#include <flutter_volume_controller/flutter_volume_controller_plugin_c_api.h>
#include <fullscreen_window/fullscreen_window_plugin_c_api.h>
#include <media_kit_libs_windows_video/media_kit_libs_windows_video_plugin_c_api.h>
#include <media_kit_video/media_kit_video_plugin_c_api.h>
#include <permission_handler_windows/permission_handler_windows_plugin.h>
#include <screen_brightness_windows/screen_brightness_windows_plugin.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
#include <webview_win_floating/webview_win_floating_plugin_c_api.h>
#include <window_manager/window_manager_plugin.h>
#include <windows_single_instance/windows_single_instance_plugin.h>

Expand All @@ -36,8 +34,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("FlutterJsPlugin"));
FlutterVolumeControllerPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FlutterVolumeControllerPluginCApi"));
FullscreenWindowPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FullscreenWindowPluginCApi"));
MediaKitLibsWindowsVideoPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("MediaKitLibsWindowsVideoPluginCApi"));
MediaKitVideoPluginCApiRegisterWithRegistrar(
Expand All @@ -50,8 +46,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("ScreenRetrieverPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
WebviewWinFloatingPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("WebviewWinFloatingPluginCApi"));
WindowManagerPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("WindowManagerPlugin"));
WindowsSingleInstancePluginRegisterWithRegistrar(
Expand Down
2 changes: 0 additions & 2 deletions windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color
flutter_js
flutter_volume_controller
fullscreen_window
media_kit_libs_windows_video
media_kit_video
permission_handler_windows
screen_brightness_windows
screen_retriever
url_launcher_windows
webview_win_floating
window_manager
windows_single_instance
)
Expand Down

0 comments on commit 63a057e

Please sign in to comment.