mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
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:
parent
405c6659b9
commit
0e7d49488c
@ -4,7 +4,7 @@ block_cipher = None
|
|||||||
|
|
||||||
|
|
||||||
analysis = Analysis(
|
analysis = Analysis(
|
||||||
['__init__.py'],
|
['./qt_ui/main.py'],
|
||||||
pathex=['.'],
|
pathex=['.'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[
|
datas=[
|
||||||
|
|||||||
@ -37,7 +37,7 @@ if __name__ == "__main__":
|
|||||||
persistency.setup(sys.argv[1])
|
persistency.setup(sys.argv[1])
|
||||||
|
|
||||||
css = ""
|
css = ""
|
||||||
with open("./qt_ui/stylesheets/style.css") as stylesheet:
|
with open("./resources/stylesheets/style.css") as stylesheet:
|
||||||
css = stylesheet.read()
|
css = stylesheet.read()
|
||||||
|
|
||||||
app.processEvents()
|
app.processEvents()
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
pygame
|
|
||||||
pydcs>=0.9.3
|
pydcs>=0.9.3
|
||||||
pyinstaller
|
Pyside2>=5.13.0
|
||||||
|
pyinstaller==3.5
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user