manuskript/bin/manuskript
TheJackiMonster 9287e85b7e
Implement recent projects menu
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-03-21 20:51:05 +01:00

20 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()