mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
20 lines
332 B
Go
20 lines
332 B
Go
//go:build gui && !notun
|
|
|
|
package main
|
|
|
|
import (
|
|
"strings"
|
|
|
|
"github.com/e1732a364fed/v2ray_simple/proxy/tun"
|
|
)
|
|
|
|
func init() {
|
|
tun.AddManualRunCmdsListFunc = func(s []string) {
|
|
theGuiTunStartCmds := s
|
|
if multilineEntry != nil {
|
|
entriesGroup.Show()
|
|
multilineEntry.SetText(strings.Join(theGuiTunStartCmds, "\n"))
|
|
}
|
|
}
|
|
}
|