feat: 更新版本号和程序信息
1. 更新版本号至 0.1.4 - 更新程序标题显示版本号 - 添加版本信息配置文件 2. 修复配置保存和加载问题 - 修复保存路径设置不生效的问题 - 优化配置加载时机,确保使用最新设置
This commit is contained in:
parent
b19f1d1d11
commit
a57ef160d6
@ -185,7 +185,7 @@ save_location/
|
|||||||
|
|
||||||
## 🔄 最近更新
|
## 🔄 最近更新
|
||||||
|
|
||||||
### 2025-01-15
|
### 2025-01-15
|
||||||
- 🔍 改进标题提取算法
|
- 🔍 改进标题提取算法
|
||||||
- 优化对 Markdown 格式的处理
|
- 优化对 Markdown 格式的处理
|
||||||
- 改进代码块标题处理
|
- 改进代码块标题处理
|
||||||
@ -200,7 +200,7 @@ save_location/
|
|||||||
- 确保 UTF-8 编码支持
|
- 确保 UTF-8 编码支持
|
||||||
- 优化日志格式和可读性
|
- 优化日志格式和可读性
|
||||||
|
|
||||||
### 2025-01-16
|
### 2025-01-16(v0.1.4)
|
||||||
- 添加应用程序打包支持
|
- 添加应用程序打包支持
|
||||||
- 使用 PyInstaller 打包为独立可执行文件
|
- 使用 PyInstaller 打包为独立可执行文件
|
||||||
- 添加打包配置文件 `llmclipboard.spec`
|
- 添加打包配置文件 `llmclipboard.spec`
|
||||||
|
|||||||
28
project/llmclipboard/file_version_info.txt
Normal file
28
project/llmclipboard/file_version_info.txt
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
VSVersionInfo(
|
||||||
|
ffi=FixedFileInfo(
|
||||||
|
filevers=(0, 1, 4, 0),
|
||||||
|
prodvers=(0, 1, 4, 0),
|
||||||
|
mask=0x3f,
|
||||||
|
flags=0x0,
|
||||||
|
OS=0x40004,
|
||||||
|
fileType=0x1,
|
||||||
|
subtype=0x0,
|
||||||
|
date=(0, 0)
|
||||||
|
),
|
||||||
|
kids=[
|
||||||
|
StringFileInfo(
|
||||||
|
[
|
||||||
|
StringTable(
|
||||||
|
u'040904B0',
|
||||||
|
[StringStruct(u'CompanyName', u'Codeium'),
|
||||||
|
StringStruct(u'FileDescription', u'LLMClipboard - 智能剪贴板工具'),
|
||||||
|
StringStruct(u'FileVersion', u'0.1.4'),
|
||||||
|
StringStruct(u'InternalName', u'LLMClipboard'),
|
||||||
|
StringStruct(u'LegalCopyright', u'Copyright (c) 2025'),
|
||||||
|
StringStruct(u'OriginalFilename', u'LLMClipboard.exe'),
|
||||||
|
StringStruct(u'ProductName', u'LLMClipboard'),
|
||||||
|
StringStruct(u'ProductVersion', u'0.1.4')])
|
||||||
|
]),
|
||||||
|
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
|
||||||
|
]
|
||||||
|
)
|
||||||
@ -12,7 +12,7 @@ from configparser import ConfigParser
|
|||||||
class MainWindow(QMainWindow):
|
class MainWindow(QMainWindow):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.setWindowTitle("LLMClipboard")
|
self.setWindowTitle("LLMClipboard v0.1.4")
|
||||||
self.setMinimumWidth(500)
|
self.setMinimumWidth(500)
|
||||||
|
|
||||||
# 初始化服务
|
# 初始化服务
|
||||||
@ -98,6 +98,8 @@ class MainWindow(QMainWindow):
|
|||||||
self.start_button.setText("停止监听")
|
self.start_button.setText("停止监听")
|
||||||
self.status_label.setText("状态: 正在运行")
|
self.status_label.setText("状态: 正在运行")
|
||||||
self.save_config()
|
self.save_config()
|
||||||
|
# 重新加载配置
|
||||||
|
self.service.load_config()
|
||||||
self.service.start()
|
self.service.start()
|
||||||
else:
|
else:
|
||||||
self.start_button.setText("启动监听")
|
self.start_button.setText("启动监听")
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "llmclipboard"
|
name = "llmclipboard"
|
||||||
version = "0.1.0"
|
version = "0.1.4"
|
||||||
description = "A cross-platform rich text capture tool with GUI support"
|
description = "A cross-platform rich text capture tool with GUI support"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user