关闭切片程序
This commit is contained in:
1 parent
37b78bfdf8
commit
0b83a6bd6d
1 file changed
+4
-1
@@ -99,7 +99,10 @@ def close():
|
|||||||
import win32process
|
import win32process
|
||||||
|
|
||||||
# 应用程序的窗口名称
|
# 应用程序的窗口名称
|
||||||
window_name = "赛纳3D打印控制系统 V1.4.3.2"
|
window_name = cfg('exe.soft_name', None)
|
||||||
|
if window_name is None:
|
||||||
|
print(f"错误:切片软件名称未配置")
|
||||||
|
exit(1)
|
||||||
|
|
||||||
print(f"正在查找窗口: {window_name}")
|
print(f"正在查找窗口: {window_name}")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user