mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
18 lines
430 B
Python
18 lines
430 B
Python
import sys
|
|
|
|
import settings
|
|
from Qt import QtWidgets, QtGui
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
|
|
stylesheet = settings.style.load_stylesheet()
|
|
app.setStyleSheet(stylesheet)
|
|
app.setWindowIcon(QtGui.QIcon(settings.style.app_icon_path()))
|
|
|
|
develop = "-d" in sys.argv or "--develop" in sys.argv
|
|
widget = settings.MainWidget(develop)
|
|
widget.show()
|
|
|
|
sys.exit(app.exec_())
|