2019-03-22 14:28:14 +11:00
|
|
|
# Copyright 2019 miruka
|
|
|
|
# This file is part of harmonyqml, licensed under GPLv3.
|
|
|
|
|
2019-04-29 10:37:11 +10:00
|
|
|
import os
|
2019-03-22 14:28:14 +11:00
|
|
|
import sys
|
|
|
|
|
|
|
|
# logging.basicConfig(level=logging.INFO)
|
|
|
|
|
2019-04-29 10:37:11 +10:00
|
|
|
# The disk cache is responsible for multiple display bugs when running
|
|
|
|
# the app for the first time/when cache needs to be recompiled, on top
|
|
|
|
# of litering the source folders with .qmlc files.
|
|
|
|
os.environ["QML_DISABLE_DISK_CACHE"] = "1"
|
|
|
|
|
2019-03-22 14:28:14 +11:00
|
|
|
|
|
|
|
def run() -> None:
|
2019-04-29 10:37:11 +10:00
|
|
|
from . import app
|
2019-04-12 03:22:43 +10:00
|
|
|
_ = app.Application(sys.argv)
|