2016-02-06 21:03:12 +13:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
realpath = os.path.realpath(__file__)
|
2023-03-02 11:32:03 +13:00
|
|
|
app_path = os.path.join(os.path.dirname(realpath), '..')
|
2016-02-06 21:03:12 +13:00
|
|
|
|
2023-03-02 11:32:03 +13:00
|
|
|
sys.path.insert(1, app_path)
|
|
|
|
os.chdir(app_path)
|
2016-02-06 21:03:12 +13:00
|
|
|
|
2023-03-02 11:32:03 +13:00
|
|
|
from manuskript.ui import MainWindow
|
2016-02-06 21:03:12 +13:00
|
|
|
|
2023-03-02 11:32:03 +13:00
|
|
|
path = os.path.join(os.getcwd(), "sample-projects/book-of-acts")
|
|
|
|
|
2023-03-22 08:51:05 +13:00
|
|
|
window = MainWindow()
|
|
|
|
window.openProject(path + ".msk")
|
2023-03-02 11:32:03 +13:00
|
|
|
window.run()
|