mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-30 01:07:24 +13:00
8f899b1acc
deleted extra saved things Deleted backups Delete character_details_template_editor.glade~ Fixed Some things that should have been there.
24 lines
663 B
Python
24 lines
663 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
# I put this here because otherwise I couldn't run it.
|
|
# I also added some tests and had to modify this to get it to run -- ShadowOfHassen
|
|
import os
|
|
import sys
|
|
|
|
# gi
|
|
import gi
|
|
gi.require_version('GdkPixbuf', '2.0')
|
|
from gi.repository import GdkPixbuf
|
|
|
|
realpath = os.path.realpath(__file__)
|
|
LOGO_FILE = 'icons/Manuskript/manuskript.svg'
|
|
#sys.path.insert(1, os.path.join(os.path.dirname(realpath), '..'))
|
|
|
|
from manuskript.ui import MainWindow
|
|
|
|
|
|
window = MainWindow("sample-projects/book-of-acts" + ".msk")
|
|
# Let's make this a bit fancier
|
|
window.window.set_icon(GdkPixbuf.Pixbuf.new_from_file(LOGO_FILE))
|
|
|
|
window.run()
|