Skip to content

Commit 74b35c5

Browse files
committed
v2.2.8_开始打包
1 parent b31ee90 commit 74b35c5

4 files changed

Lines changed: 31 additions & 9 deletions

File tree

CHANGELOG/v2.2.8/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<img width="1800" height="766" alt="新版本" src="https://github.com/SECTL/SecRandom/blob/master/data/assets/icon/secrandom-beta.png" />
2+
3+
v2.0 - Koharu(小鸟游星野) release 7
4+
5+
## 🚀 主要更新
6+
7+
-
8+
9+
## 💡 功能优化
10+
11+
-
12+
13+
## 🐛 修复问题
14+
15+
- 修复 **浮窗显示问题**,启动后无显示
16+
- 修复 **重启问题**,无法重启问题
17+
18+
## 🔧 其它变更
19+
20+
-
21+
22+
---
23+
24+
💝 **感谢所有贡献者为 SecRandom 项目付出的努力!**

Secrandom.spec

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,13 @@ if sys.platform == "linux":
7474
exe = EXE(
7575
pyz,
7676
a.scripts,
77-
a.binaries,
78-
a.zipfiles,
79-
a.datas,
8077
[],
78+
exclude_binaries=True,
8179
name=exename,
8280
debug=False,
8381
bootloader_ignore_signals=False,
8482
strip=False,
8583
upx=True,
86-
upx_exclude=[],
87-
runtime_tmpdir=None,
8884
console=False,
8985
disable_windowed_traceback=False,
9086
argv_emulation=False,
@@ -94,7 +90,7 @@ exe = EXE(
9490
icon="resources/secrandom-icon-paper.ico",
9591
)
9692

97-
# 创建目录模式输出
93+
# 创建目录模式输出(onedir模式)
9894
coll = COLLECT(
9995
exe,
10096
a.binaries,
@@ -105,4 +101,3 @@ coll = COLLECT(
105101
upx_exclude=[],
106102
name="SecRandom",
107103
)
108-
#nothing

app/core/window_manager.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ def _configure_main_window_display(self) -> None:
168168
"floating_window_management", "startup_display_floating_window"
169169
)
170170
if startup_display_float:
171-
self.show_float_window()
171+
if self.float_window is None:
172+
self.create_float_window()
173+
if self.float_window is not None and not self.float_window.isVisible():
174+
self.float_window.show()
172175

173176
def _connect_url_handler_signals(self) -> None:
174177
"""连接URL处理器信号"""

app/tools/variable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# -------------------- 软件基本信息 --------------------
1111
APPLY_NAME = "SecRandom" # 软件名称
1212
VERSION = "v0.0.0" # 软件当前版本
13-
NEXT_VERSION = "v2.2.7" # 软件下一个版本
13+
NEXT_VERSION = "v2.2.8" # 软件下一个版本
1414
CODENAME = "Koharu" # 软件代号
1515
SPECIAL_VERSION = VERSION if VERSION != "v0.0.0" else NEXT_VERSION
1616

0 commit comments

Comments
 (0)