pre-release

pull/155/head
Who? 2025-06-14 08:53:50 +00:00
parent f3a3a132b8
commit eb9bc53d5f
5 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,13 @@
# Heroku Changelog # 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 ## 🪐 Heroku 1.7.0
- added banner to ping - added banner to ping

View File

@ -94,6 +94,7 @@ CONFIG_PATH = BASE_PATH / "config.json"
IS_DOCKER = "DOCKER" in os.environ IS_DOCKER = "DOCKER" in os.environ
IS_LAVHOST = "LAVHOST" in os.environ IS_LAVHOST = "LAVHOST" in os.environ
IS_HIKKAHOST = "HIKKAHOST" 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_AEZA = "aeza" in socket.gethostname()
IS_USERLAND = "userland" in os.environ.get("USER", "") IS_USERLAND = "userland" in os.environ.get("USER", "")
IS_JAMHOST = "JAMHOST" in os.environ IS_JAMHOST = "JAMHOST" in os.environ
@ -1013,8 +1014,10 @@ class Heroku:
logging.exception("Unexpected exception in main loop: %s", e) logging.exception("Unexpected exception in main loop: %s", e)
finally: finally:
logging.info("Bye!") 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") herokutl.extensions.html.CUSTOM_EMOJIS = not get_config_key("disable_custom_emojis")

View File

@ -139,6 +139,7 @@ class HerokuInfoMod(loader.Module):
("🐧", "<emoji document_id=5361541227604878624>🐧</emoji>"), ("🐧", "<emoji document_id=5361541227604878624>🐧</emoji>"),
("🧃", "<emoji document_id=5422884965593397853>🧃</emoji>"), ("🧃", "<emoji document_id=5422884965593397853>🧃</emoji>"),
("💻", "<emoji document_id=5469825590884310445>💻</emoji>"), ("💻", "<emoji document_id=5469825590884310445>💻</emoji>"),
("🍏", "<emoji document_id=5372908412604525258>🍏</emoji>")
]: ]:
platform = platform.replace(emoji, icon) platform = platform.replace(emoji, icon)
return ( return (

View File

@ -924,6 +924,9 @@ def get_named_platform() -> str:
if main.IS_WINDOWS: if main.IS_WINDOWS:
return "💻 Windows" return "💻 Windows"
if main.IS_MACOS:
return "🍏 MacOS"
if main.IS_JAMHOST: if main.IS_JAMHOST:
return "🧃 JamHost" return "🧃 JamHost"

View File

@ -1,5 +1,4 @@
requests requests
emoji
moviepy moviepy
python-ffmpeg python-ffmpeg
ffmpeg ffmpeg