+ class="apple icon">
@#server.Name + (server.live?'':'[{{tr "Offline"}}]')#@
@@ -133,6 +133,57 @@
isWindowsPlatform(str) {
return str.includes('Windows')
},
+ getFontLogoClass(str) {
+ if (["almalinux",
+ "alpine",
+ "aosc",
+ "apple",
+ "archlinux",
+ "archlabs",
+ "artix",
+ "budgie",
+ "centos",
+ "coreos",
+ "debian",
+ "deepin",
+ "devuan",
+ "docker",
+ "elementary",
+ "fedora",
+ "ferris",
+ "flathub",
+ "freebsd",
+ "gentoo",
+ "gnu-guix",
+ "illumos",
+ "kali-linux",
+ "linuxmint",
+ "mageia",
+ "mandriva",
+ "manjaro",
+ "nixos",
+ "openbsd",
+ "opensuse",
+ "pop-os",
+ "raspberry-pi",
+ "redhat",
+ "rocky-linux",
+ "sabayon",
+ "slackware",
+ "snappy",
+ "solus",
+ "tux",
+ "ubuntu",
+ "void",
+ "zorin"].indexOf(str)
+ > -1) {
+ return str;
+ }
+ if (str == 'openwrt') {
+ return 'tux';
+ }
+ return '';
+ },
group() {
this.groups = groupingData(this.data, "Tag")
},
diff --git a/service/singleton/singleton.go b/service/singleton/singleton.go
index a4681aa..9ce197e 100644
--- a/service/singleton/singleton.go
+++ b/service/singleton/singleton.go
@@ -12,7 +12,7 @@ import (
"github.com/naiba/nezha/pkg/utils"
)
-var Version = "v0.13.10" // !!记得修改 README 中的 badge 版本!!
+var Version = "v0.13.11" // !!记得修改 README 中的 badge 版本!!
var (
Conf *model.Config