Revert "platform: Add openURL event"

This reverts commit 718cffea9a.
This commit is contained in:
世界 2024-11-05 20:03:39 +08:00
parent 1d517b6ca5
commit f504fb0d46
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
7 changed files with 15 additions and 130 deletions

View file

@ -134,9 +134,6 @@ func (s *interfaceMonitorStub) RegisterCallback(callback tun.DefaultInterfaceUpd
func (s *interfaceMonitorStub) UnregisterCallback(element *list.Element[tun.DefaultInterfaceUpdateCallback]) {
}
func (s *platformInterfaceStub) OpenURL(url string) {
}
func FormatConfig(configContent string) (string, error) {
options, err := parseConfig(configContent)
if err != nil {