c0fcbc03ee
Update the runner projects for the reworked plugins. The Windows runner asks the plugin for the running window before booting a second instance and forwards a clash:// link through app_links; the Linux runner routes a relaunch to the primary through GApplication; the macOS delegate forwards applicationShouldHandleReopen to the plugin. The Linux desktop entries claim the clash, clashmeta, and flclash schemes, and the rpm spec stops stripping the Core whose hash the Helper validates. The runner projects consume the setup build hook's artifacts: macOS drops the CocoaPods integration and its script phase, pins release ARCHS to the host, and stages the Core after the hook may have rewritten it; Windows and Linux copy the Core, Helper and manifest from the CMake install rules, and a Debug install on Windows stops a Helper that holds its exe open, matched by executable path so a registered release Helper keeps running. The deb depends on the appindicator runtime library instead of its development package, and the keybinder dependency and README lines go with hotkey_manager. Changelog: Rework the desktop runners, packaging, and native build
42 lines
1.7 KiB
C++
42 lines
1.7 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <app_links/app_links_plugin_c_api.h>
|
|
#include <connectivity_plus/connectivity_plus_windows_plugin.h>
|
|
#include <dynamic_color/dynamic_color_plugin_c_api.h>
|
|
#include <file_selector_windows/file_selector_windows.h>
|
|
#include <proxy/proxy_plugin_c_api.h>
|
|
#include <screen_retriever_windows/screen_retriever_windows_plugin_c_api.h>
|
|
#include <tray/tray_plugin_c_api.h>
|
|
#include <url_launcher_windows/url_launcher_windows.h>
|
|
#include <wifi_ssid/wifi_ssid_plugin_c_api.h>
|
|
#include <window_manager/window_manager_plugin.h>
|
|
|
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
AppLinksPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("AppLinksPluginCApi"));
|
|
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
|
|
DynamicColorPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("DynamicColorPluginCApi"));
|
|
FileSelectorWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FileSelectorWindows"));
|
|
ProxyPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ProxyPluginCApi"));
|
|
ScreenRetrieverWindowsPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ScreenRetrieverWindowsPluginCApi"));
|
|
TrayPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("TrayPluginCApi"));
|
|
UrlLauncherWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
|
|
WifiSsidPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("WifiSsidPluginCApi"));
|
|
WindowManagerPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("WindowManagerPlugin"));
|
|
}
|