22 lines
437 B
Python
Executable File
22 lines
437 B
Python
Executable File
#!/usr/bin/env python3
|
||
"""
|
||
novelWriter – Start Script
|
||
==========================
|
||
"""
|
||
import os
|
||
import sys
|
||
|
||
try:
|
||
import PyQt5.QtWidgets # noqa: F401
|
||
import PyQt5.QtGui # noqa: F401
|
||
import PyQt5.QtCore # noqa: F401
|
||
except Exception:
|
||
print("ERROR: Failed to load dependency PyQt5")
|
||
sys.exit(1)
|
||
|
||
os.curdir = os.path.abspath(os.path.dirname(__file__))
|
||
|
||
if __name__ == "__main__":
|
||
import nw
|
||
nw.main(sys.argv[1:])
|