1) set the required textual version to version 8.2.8
2) generated installers which bundle the required .venv
This commit is contained in:
+6
-1
@@ -14,6 +14,7 @@ from i18n import I18n
|
||||
|
||||
from . import ffmpeg_client, ytdlp_client
|
||||
from .models import FormatEntry, VideoInfo
|
||||
from .runtime_paths import bundle_root
|
||||
from .screens import ErrorScreen, FormatSelectScreen, HelpScreen, LanguageSelectScreen
|
||||
|
||||
|
||||
@@ -22,7 +23,11 @@ class DownloadManagerApp(App[None]):
|
||||
|
||||
# All widget styling (this screen plus every modal screen) lives in one
|
||||
# external stylesheet rather than scattered DEFAULT_CSS/CSS blocks.
|
||||
CSS_PATH = "styles.tcss"
|
||||
# Resolved via bundle_root() rather than a plain relative path so it
|
||||
# keeps working from a PyInstaller build, where this module's __file__
|
||||
# is a synthetic path Textual can't open() directly — see
|
||||
# runtime_paths.py.
|
||||
CSS_PATH = str(bundle_root() / "app" / "styles.tcss")
|
||||
|
||||
# `priority=True` makes these global: they fire even while an Input (or
|
||||
# any other widget with its own key bindings, e.g. Input's built-in
|
||||
|
||||
Reference in New Issue
Block a user