mirror of
https://gh.wpcy.net/https://github.com/bohdanbobrowski/blog2epub.git
synced 2026-04-25 12:18:02 +08:00
22 lines
470 B
Python
22 lines
470 B
Python
import PyInstaller.__main__
|
|
from pathlib import Path
|
|
|
|
HERE = Path(__file__).parent.absolute()
|
|
blog2epub_gui_windows_spec = str(HERE / "blog2epub_gui_windows.spec")
|
|
blog2epub_gui_macos_spec = str(HERE / "blog2epub_gui_macos.spec")
|
|
|
|
|
|
def build_gui_windows():
|
|
PyInstaller.__main__.run(
|
|
[
|
|
blog2epub_gui_windows_spec
|
|
]
|
|
)
|
|
|
|
|
|
def build_gui_macos():
|
|
PyInstaller.__main__.run(
|
|
[
|
|
blog2epub_gui_macos_spec
|
|
]
|
|
)
|