From eb9bc53d5f384b2448c1c0449455969a3ff85982 Mon Sep 17 00:00:00 2001
From: Who? <155328415+coddrago@users.noreply.github.com>
Date: Sat, 14 Jun 2025 08:53:50 +0000
Subject: [PATCH] pre-release
---
CHANGELOG.md | 9 +++++++++
heroku/main.py | 7 +++++--
heroku/modules/heroku_info.py | 1 +
heroku/utils.py | 3 +++
optional_requirements.txt | 1 -
5 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73e840c..b27e024 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,13 @@
# Heroku Changelog
+## 🪐 Heroku 1.7.1
+- fixed bug with web
+- fixed bug with executor
+- fixed bug with presets command
+- added structure for windows and MacOS
+- added blockquote for all lists
+- added new banner for update
+- added ubguard.codrago.life
+
## 🪐 Heroku 1.7.0
- added banner to ping
diff --git a/heroku/main.py b/heroku/main.py
index e6a925d..5f2412e 100644
--- a/heroku/main.py
+++ b/heroku/main.py
@@ -94,6 +94,7 @@ CONFIG_PATH = BASE_PATH / "config.json"
IS_DOCKER = "DOCKER" in os.environ
IS_LAVHOST = "LAVHOST" in os.environ
IS_HIKKAHOST = "HIKKAHOST" in os.environ
+IS_MACOS = "com.apple" in os.environ.get("PATH", "")
IS_AEZA = "aeza" in socket.gethostname()
IS_USERLAND = "userland" in os.environ.get("USER", "")
IS_JAMHOST = "JAMHOST" in os.environ
@@ -1013,8 +1014,10 @@ class Heroku:
logging.exception("Unexpected exception in main loop: %s", e)
finally:
logging.info("Bye!")
- self.loop.run_until_complete(self._shutdown_handler())
-
+ try:
+ self.loop.run_until_complete(self._shutdown_handler())
+ except:
+ pass
herokutl.extensions.html.CUSTOM_EMOJIS = not get_config_key("disable_custom_emojis")
diff --git a/heroku/modules/heroku_info.py b/heroku/modules/heroku_info.py
index 09000e3..baa4181 100644
--- a/heroku/modules/heroku_info.py
+++ b/heroku/modules/heroku_info.py
@@ -139,6 +139,7 @@ class HerokuInfoMod(loader.Module):
("🐧", "🐧"),
("🧃", "🧃"),
("💻", "💻"),
+ ("🍏", "🍏")
]:
platform = platform.replace(emoji, icon)
return (
diff --git a/heroku/utils.py b/heroku/utils.py
index 0a2f385..431abfd 100644
--- a/heroku/utils.py
+++ b/heroku/utils.py
@@ -924,6 +924,9 @@ def get_named_platform() -> str:
if main.IS_WINDOWS:
return "💻 Windows"
+ if main.IS_MACOS:
+ return "🍏 MacOS"
+
if main.IS_JAMHOST:
return "🧃 JamHost"
diff --git a/optional_requirements.txt b/optional_requirements.txt
index 9824778..c2e01a5 100644
--- a/optional_requirements.txt
+++ b/optional_requirements.txt
@@ -1,5 +1,4 @@
requests
-emoji
moviepy
python-ffmpeg
ffmpeg