mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-30 01:07:24 +13:00
9287e85b7e
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
19 lines
388 B
Python
Executable file
19 lines
388 B
Python
Executable file
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import sys
|
|
|
|
realpath = os.path.realpath(__file__)
|
|
app_path = os.path.join(os.path.dirname(realpath), '..')
|
|
|
|
sys.path.insert(1, app_path)
|
|
os.chdir(app_path)
|
|
|
|
from manuskript.ui import MainWindow
|
|
|
|
path = os.path.join(os.getcwd(), "sample-projects/book-of-acts")
|
|
|
|
window = MainWindow()
|
|
window.openProject(path + ".msk")
|
|
window.run()
|