makecindy / makecindy/cindy

Windows 卸载时未先关闭 Cindy,导致卸载不干净

Open
#3,748 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

### 问题描述 / What happened

## 问题描述

Windows 上卸载 Cindy 时,如果 Cindy 正在运行,卸载程序不会先关闭 Cindy 进程,导致卸载不干净。

卸载过程中,已经打开的 Cindy 界面也无法正常关闭,并提示:

> 系统托盘图标创建失败,窗口将保持打开

## 期望行为

卸载开始前应先可靠关闭正在运行的 Cindy 进程,再继续删除应用文件,避免残留文件以及窗口无法退出。

### 环境 / Environment

- 提交人:mp55
- Cindy 版本:0.1.70
- 平台:Windows
- 安装方式:Windows 安装包 / Cindy.exe 卸载程序

格式参考:https://github.com/makecindy/cindy/issues/3733

### 复现步骤 / Steps to reproduce

1. 安装 Cindy 0.1.70。
2. 启动 Cindy 并保持界面打开。
3. 执行 `Cindy.exe` 卸载程序。
4. 观察卸载过程以及原 Cindy 窗口的关闭行为。
5. 实际结果:Cindy 未在卸载前关闭,卸载不干净;打开的界面无法关闭,并提示“系统托盘图标创建失败,窗口将保持打开”。

### 日志与截图 / Logs & screenshots

Image

Contributor guide

Open the contributing guide

Research direction

Start at the Windows uninstall entry point, Cindy.exe, and trace how a running Cindy process is handled before file removal. Reproduce with Cindy 0.1.70 while the app is open; done means the process and window close reliably before uninstall continues, with no residual files or tray-icon error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.