mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2025-12-18 21:11:39 +08:00
更新banner
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 195 KiB |
@@ -105,14 +105,14 @@ AppInfoShowerRefresh()
|
||||
if os.path.exists("/usr/share/gxde-resources/spark-dwine-helper.png"):
|
||||
backgroundImgPath = "/usr/share/gxde-resources/spark-dwine-helper.png"
|
||||
##########
|
||||
if os.path.exists("/opt/durapps/spark-dwine-helper/pybanner/fallback.png"):
|
||||
backgroundImgPath = "/opt/durapps/spark-dwine-helper/pybanner/fallback.png"
|
||||
if os.path.exists(f"{programPath}/banner.png"):
|
||||
backgroundImgPath = f"{programPath}/banner.png"
|
||||
if os.path.exists(f"{programPath}/fallback.png"):
|
||||
backgroundImgPath = f"{programPath}/fallback.png"
|
||||
if os.path.exists(f"/opt/apps/{os.getenv('DEB_PACKAGE_NAME')}/files/banner.png"):
|
||||
backgroundImgPath = f"/opt/apps/{os.getenv('DEB_PACKAGE_NAME')}/files/banner.png"
|
||||
window.setWindowTitle("星火Windows应用兼容助手")
|
||||
layout.addWidget(QLabel(f""), 1, 0)
|
||||
layout.addWidget(appInfoShower, 2, 0)
|
||||
layout.addWidget(QLabel(f"<hr>由 Wine 运行器驱动"), 4, 0)
|
||||
layout.addWidget(QLabel(f"<hr>由 Wine 运行器提供支持"), 4, 0)
|
||||
widget.setLayout(layout)
|
||||
window.setCentralWidget(widget)
|
||||
window.setWindowFlags(Qt.CustomizeWindowHint | Qt.WindowStaysOnTopHint)
|
||||
|
||||
Reference in New Issue
Block a user