Put CSS in resources folder, so that it is properly embedded in the release. Updated requirement and release build for new UI.

This commit is contained in:
Khopa 2019-07-12 19:35:30 +02:00
parent 405c6659b9
commit 0e7d49488c
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ block_cipher = None
analysis = Analysis(
['__init__.py'],
['./qt_ui/main.py'],
pathex=['.'],
binaries=[],
datas=[

View File

@ -37,7 +37,7 @@ if __name__ == "__main__":
persistency.setup(sys.argv[1])
css = ""
with open("./qt_ui/stylesheets/style.css") as stylesheet:
with open("./resources/stylesheets/style.css") as stylesheet:
css = stylesheet.read()
app.processEvents()

View File

@ -1,3 +1,3 @@
pygame
pydcs>=0.9.3
pyinstaller
Pyside2>=5.13.0
pyinstaller==3.5