mirror of
https://github.com/jdegenstein/jmwright-CQ-Editor.git
synced 2025-12-19 22:24:19 +01:00
from jmwright 72b67da
This commit is contained in:
16
run.py
Normal file
16
run.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import os, sys, asyncio
|
||||
import faulthandler
|
||||
|
||||
faulthandler.enable()
|
||||
|
||||
if 'CASROOT' in os.environ:
|
||||
del os.environ['CASROOT']
|
||||
|
||||
if sys.platform == 'win32':
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
||||
|
||||
from cq_editor.__main__ import main
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user