Move logo to app/assets and update loader
This commit is contained in:
parent
9093e7c835
commit
97bfe772ff
Binary file not shown.
|
After Width: | Height: | Size: 222 KiB |
|
|
@ -356,7 +356,7 @@ class UIBuilderMixin:
|
||||||
try:
|
try:
|
||||||
from PIL import Image, ImageTk # type: ignore
|
from PIL import Image, ImageTk # type: ignore
|
||||||
|
|
||||||
logo_path = Path(__file__).resolve().parents[1] / "logo.png"
|
logo_path = Path(__file__).resolve().parent / "assets" / "logo.png"
|
||||||
if logo_path.exists():
|
if logo_path.exists():
|
||||||
image = Image.open(logo_path).convert("RGBA")
|
image = Image.open(logo_path).convert("RGBA")
|
||||||
image.thumbnail((26, 26))
|
image.thumbnail((26, 26))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue