mirror of
https://github.com/aclist/dztui.git
synced 2026-11-09 19:40:38 +01:00
15 lines
306 B
Python
15 lines
306 B
Python
from pathlib import Path
|
|
|
|
from dzgui.app_init import build_gui
|
|
from shared import get_git_root
|
|
|
|
|
|
def get_image_path() -> Path:
|
|
return get_git_root().joinpath("dzgui/data/images/example.png")
|
|
|
|
|
|
p = get_image_path()
|
|
app = build_gui("", False)
|
|
app.set_automation_param("screenshot_path", p)
|
|
app.run(None)
|