Files
FlClash/plugins/proxy/windows/proxy_plugin_c_api.cpp
T
chen08209 94a25f4827 fix(desktop): fix the system proxy, tray and Helper on Windows and Linux
Changelog: Windows and Linux desktop fixes
2026-10-11 12:28:52 +08:00

17 lines
459 B
C++

#include "include/proxy/proxy_plugin_c_api.h"
#include <flutter/plugin_registrar_windows.h>
#include "proxy_plugin.h"
void ProxyPluginCApiRegisterWithRegistrar(
FlutterDesktopPluginRegistrarRef registrar) {
proxy::ProxyPlugin::RegisterWithRegistrar(
flutter::PluginRegistrarManager::GetInstance()
->GetRegistrar<flutter::PluginRegistrarWindows>(registrar));
}
bool ProxyPluginClearStaleProxy() {
return proxy::ClearStaleProxy();
}