UPDATE: Add admin relaunch functionality for macOS and Linux, enhance README with new features and usage examples
Build and Release / release (push) Successful in 18s

This commit is contained in:
2026-05-23 19:53:13 +07:00
parent 1692bd73a2
commit 1abf0caee4
7 changed files with 204 additions and 7 deletions
+9
View File
@@ -26,6 +26,15 @@ func matchURL(url string, list []string) bool {
return false
}
func containsURL(url string, list []string) bool {
for _, u := range list {
if strings.Contains(url, u) {
return true
}
}
return false
}
func cleanHost(h string) string {
if idx := strings.LastIndex(h, ":"); idx != -1 {
return h[:idx]