Фикс сферум он линуксь
This commit is contained in:
@@ -140,3 +140,10 @@ if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
# This include() command was automatically added by the flutter_linux_webview
|
||||
# plugin when building the app with the plugin. The app executable must be
|
||||
# linked to the CEF library for the WebView plugin to work. This command links
|
||||
# the app executable to the CEF library.
|
||||
include(flutter/ephemeral/.plugin_symlinks/flutter_linux_webview/linux/cmake/link_to_cef_library.cmake)
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <dynamic_color/dynamic_color_plugin.h>
|
||||
#include <file_selector_linux/file_selector_plugin.h>
|
||||
#include <flutter_linux_webview/flutter_linux_webview_plugin.h>
|
||||
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
|
||||
#include <flutter_timezone/flutter_timezone_plugin.h>
|
||||
#include <gtk/gtk_plugin.h>
|
||||
@@ -22,6 +23,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
|
||||
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
|
||||
g_autoptr(FlPluginRegistrar) flutter_linux_webview_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterLinuxWebviewPlugin");
|
||||
flutter_linux_webview_plugin_register_with_registrar(flutter_linux_webview_registrar);
|
||||
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
|
||||
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
dynamic_color
|
||||
file_selector_linux
|
||||
flutter_linux_webview
|
||||
flutter_secure_storage_linux
|
||||
flutter_timezone
|
||||
gtk
|
||||
|
||||
Reference in New Issue
Block a user