reslove issue 717 about logo url and add coreelec support (#718)

This commit is contained in:
moli765
2025-03-22 23:19:54 +08:00
committed by GitHub
parent 275041247a
commit 95ca6bcfc9
4 changed files with 4 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ enum StatusCmdType {
echo._('echo ${SystemType.linuxSign}'),
time._('date +%s'),
net._('cat /proc/net/dev'),
sys._('cat /etc/*-release | grep PRETTY_NAME'),
sys._('cat /etc/*-release | grep ^PRETTY_NAME'),
cpu._('cat /proc/stat | grep cpu'),
uptime._('uptime'),
conn._('cat /proc/net/snmp'),

View File

@@ -105,6 +105,7 @@ enum PkgManager {
return PkgManager.apt;
case Dist.opensuse:
return PkgManager.zypper;
case Dist.coreelec:
case Dist.wrt:
return PkgManager.opkg;
case Dist.arch:

View File

@@ -11,6 +11,7 @@ enum Dist {
alpine,
rocky,
deepin,
coreelec,
;
}