chore: add download availability notice (1.2.5)
This commit is contained in:
1 parent
e0789d4a28
commit
3d21e4b87c
3 files changed
+6
-1
No files matched your search
@@ -286,6 +286,10 @@ class MainWindow(QMainWindow):
|
|||||||
self.nav_btns[key] = button
|
self.nav_btns[key] = button
|
||||||
|
|
||||||
layout.addStretch()
|
layout.addStretch()
|
||||||
|
client_notice = QLabel("客户端暂不提供直链下载", objectName="clientNotice")
|
||||||
|
client_notice.setContentsMargins(10, 0, 6, 4)
|
||||||
|
client_notice.setWordWrap(True)
|
||||||
|
layout.addWidget(client_notice)
|
||||||
version_row = QHBoxLayout()
|
version_row = QHBoxLayout()
|
||||||
version_row.setContentsMargins(10, 8, 2, 0)
|
version_row.setContentsMargins(10, 8, 2, 0)
|
||||||
self.version_label = QLabel("v%s" % APP_VERSION, objectName="versionLabel")
|
self.version_label = QLabel("v%s" % APP_VERSION, objectName="versionLabel")
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ QPushButton#nav {
|
|||||||
}
|
}
|
||||||
QPushButton#nav:hover { color: #f3f3f4; background: #28292e; }
|
QPushButton#nav:hover { color: #f3f3f4; background: #28292e; }
|
||||||
QPushButton#nav[active="true"] { color: #ffffff; background: #323338; font-weight: 600; }
|
QPushButton#nav[active="true"] { color: #ffffff; background: #323338; font-weight: 600; }
|
||||||
|
#clientNotice { color: #65676f; font-size: 9.5px; letter-spacing: .1px; }
|
||||||
#versionLabel { color: #666871; font-size: 9.5px; letter-spacing: .4px; }
|
#versionLabel { color: #666871; font-size: 9.5px; letter-spacing: .4px; }
|
||||||
QPushButton#versionBtn {
|
QPushButton#versionBtn {
|
||||||
color: #8b8d95; background: transparent; border: none; border-radius: 5px;
|
color: #8b8d95; background: transparent; border: none; border-radius: 5px;
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
"""应用版本与更新地址。"""
|
"""应用版本与更新地址。"""
|
||||||
|
|
||||||
APP_NAME = "网易云播放器"
|
APP_NAME = "网易云播放器"
|
||||||
APP_VERSION = "1.2.4"
|
APP_VERSION = "1.2.5"
|
||||||
BUILD_DATE = "2026-10-31"
|
BUILD_DATE = "2026-10-31"
|
||||||
UPDATE_ENDPOINT = "https://music.yuncishu.xyz/api/app/update"
|
UPDATE_ENDPOINT = "https://music.yuncishu.xyz/api/app/update"
|
||||||
DOWNLOAD_PAGE = "https://music.yuncishu.xyz/download/"
|
DOWNLOAD_PAGE = "https://music.yuncishu.xyz/download/"
|
||||||
Reference in new issue
Block a user