Bugfixes. Package working
This commit is contained in:
parent
e6390a3927
commit
6be2e8e6e8
|
@ -142,11 +142,13 @@ class UninstalledGameWidget(QWidget):
|
|||
self.version = game.app_version
|
||||
self.layout = QHBoxLayout()
|
||||
self.game = game
|
||||
|
||||
if os.path.exists(f"{IMAGE_DIR}/{game.app_name}/UninstalledArt.png"):
|
||||
pixmap = QPixmap(f"{IMAGE_DIR}/{game.app_name}/UninstalledArt.png")
|
||||
pixmap = pixmap.scaled(120, 160)
|
||||
self.image = QLabel()
|
||||
self.image.setPixmap(pixmap)
|
||||
else:
|
||||
print(os.listdir(IMAGE_DIR)/game.app_name)
|
||||
|
||||
self.child_layout = QVBoxLayout()
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
obit = """
|
||||
/*Copyright (c) DevSec Studio. All rights reserved.
|
||||
|
||||
MIT License
|
||||
|
@ -256,3 +257,4 @@ QScrollBar::sub-page:vertical
|
|||
background-color: transparent;
|
||||
|
||||
}
|
||||
"""
|
|
@ -1,2 +1,2 @@
|
|||
dark = open("Styles/dark.qss").read()
|
||||
obit = open("Styles/Obit.qss").read()
|
||||
from Rare.Styles.dark import dark
|
||||
from Rare.Styles.Obit import obit
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dark="""
|
||||
/* ---------------------------------------------------------------------------
|
||||
|
||||
Created by the qtsass compiler v0.1.1
|
||||
|
@ -2173,3 +2174,4 @@ PlotWidget {
|
|||
/* Fix cut labels in plots #134 */
|
||||
padding: 0px;
|
||||
}
|
||||
"""
|
|
@ -1 +1 @@
|
|||
__version__ = "0.1.0.3"
|
||||
__version__ = "0.2.3"
|
||||
|
|
4
setup.py
4
setup.py
|
@ -14,7 +14,7 @@ setuptools.setup(
|
|||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/Dummerle/Rare",
|
||||
packages=["Rare", "Rare.utils", "Rare.Styles"],
|
||||
packages=["Rare", "Rare.Styles", "Rare.utils"],
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
|
@ -27,7 +27,7 @@ setuptools.setup(
|
|||
"legendary-gl",
|
||||
"requests<3.0",
|
||||
"pillow",
|
||||
"PyQtWebEngine",
|
||||
"pyqtwebengine",
|
||||
"setuptools",
|
||||
"wheel"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue