mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08:00
18 lines
379 B
Python
Executable File
18 lines
379 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
# Copyright (c) 2015 Ultimaker B.V.
|
|
# Cura is released under the terms of the AGPLv3 or higher.
|
|
|
|
import sys
|
|
|
|
def exceptHook(type, value, traceback):
|
|
import cura.CrashHandler
|
|
cura.CrashHandler.show(type, value, traceback)
|
|
|
|
sys.excepthook = exceptHook
|
|
|
|
import cura.CuraApplication
|
|
|
|
app = cura.CuraApplication.CuraApplication.getInstance()
|
|
app.run()
|