main: check webdeps through resource abstraction

This commit is contained in:
Shiz 2024-09-17 11:34:47 +02:00
parent 53316a7f36
commit cc0fbc554e

View File

@ -57,6 +57,7 @@ from .util import (
ansi_re,
b64enc,
dedent,
has_resource,
min_ex,
pybin,
termsize,
@ -325,8 +326,7 @@ def ensure_locale() -> None:
def ensure_webdeps() -> None:
ap = os.path.join(E.mod, "web/deps/mini-fa.woff")
if os.path.exists(ap):
if has_resource(E, "web/deps/mini-fa.woff"):
return
warn(