Skip to content

Commit b813f39

Browse files
committed
refactor: 优化代码规范以及跨平台兼容性
- 改善跨平台 UI/系统处理 - 规范类型注解,消除 Pylance 非致命警告
1 parent a966121 commit b813f39

File tree

4 files changed

+109
-62
lines changed

4 files changed

+109
-62
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 肥宅水水呀
3+
Copyright (c) 2026 肥宅水水呀
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ psutil
22
pywin32; sys_platform == "win32"
33
requests
44
pyperclip
5-
pypdf
5+
pypdf

src/tchMaterial-parser.pyw

Lines changed: 102 additions & 55 deletions
Large diffs are not rendered by default.

version.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VSVersionInfo(
22
ffi=FixedFileInfo(
3-
filevers=(3, 2, 0, 0),
4-
prodvers=(3, 2, 0, 0),
3+
filevers=(3, 3, 0, 0),
4+
prodvers=(3, 3, 0, 0),
55
mask=0x3f,
66
flags=0x0,
77
OS=0x4,
@@ -16,12 +16,12 @@ VSVersionInfo(
1616
[
1717
StringStruct('CompanyName', '肥宅水水呀'),
1818
StringStruct('FileDescription', '国家中小学智慧教育平台 资源下载工具'),
19-
StringStruct('FileVersion', '3.2.0.0'),
19+
StringStruct('FileVersion', '3.3.0.0'),
2020
StringStruct('InternalName', 'tchMaterial-parser'),
21-
StringStruct('LegalCopyright', 'Copyright © 2025 肥宅水水呀'),
21+
StringStruct('LegalCopyright', 'Copyright © 2026 肥宅水水呀'),
2222
StringStruct('OriginalFilename', 'tchMaterial-parser.exe'),
2323
StringStruct('ProductName', '国家中小学智慧教育平台 资源下载工具'),
24-
StringStruct('ProductVersion', '3.2.0.0'),
24+
StringStruct('ProductVersion', '3.3.0.0'),
2525
StringStruct('Comments', '国家中小学智慧教育平台 资源下载工具')
2626
]
2727
)

0 commit comments

Comments
 (0)