diff --git a/CHANGELOG.md b/CHANGELOG.md index b46ea4a..8005e55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ # Hikka Changelog +## 🌑 Hikka 1.6.6 + +- add ToThost, oracle, AWS, aeza and serv00 detection +- fixed some bugs +- update telethon version to 1.37.0 +- removed all languages excluding: Russian, English, Ukrainian + ## 🌑 Hikka 1.6.6 beta - formatting ruff diff --git a/hikka/main.py b/hikka/main.py index aaeb8c3..1f397db 100644 --- a/hikka/main.py +++ b/hikka/main.py @@ -96,6 +96,8 @@ IS_HIKKAHOST = "HIKKAHOST" in os.environ IS_ORACLE = "ORACLE_OS" in os.environ IS_AWS = "AWS_OS" in os.environ IS_SERV00 = "serv00" in socket.gethostname() +IS_TOTHOST = "tothost" in socket.gethostname() +IS_AEZA = "aeza" in socket.gethostname() IS_WSL = False with contextlib.suppress(Exception): from platform import uname diff --git a/hikka/modules/hikka_info.py b/hikka/modules/hikka_info.py index eacbc8d..ed9b715 100644 --- a/hikka/modules/hikka_info.py +++ b/hikka/modules/hikka_info.py @@ -74,6 +74,7 @@ class HikkaInfoMod(loader.Module): ("🐈‍⬛", "🐈‍⬛"), ("✌️", "✌️"), ("💎", "💎"), + ("🛡", "☁️"), ]: platform = platform.replace(emoji, icon) diff --git a/hikka/utils.py b/hikka/utils.py index d11e5c0..7c5e1f5 100644 --- a/hikka/utils.py +++ b/hikka/utils.py @@ -917,6 +917,12 @@ def get_named_platform() -> str: if main.IS_SERV00: return "💎 Serv00" + if main.IS_TOTHOST: + return "☁️ ToTHost" + + if main.IS_AEZA: + return "🛡 Aeza" + if main.IS_GOORM: return "🦾 GoormIDE"