AppFlowy-IO / AppFlowy-IO/AppFlowy

[Bug] Application can be uninstalled even when an instance is active

Open
#4,815 4 comments 0 reactions 1 assignee Assigned to @LucasXu0 View on GitHub
bug improvements
Dominant language
Dart
Stars
76.6k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

The application can be uninstalled when an instance of appflowy is currently running. This causes incomplete installation and the user can still open appflowy app (user get's `Unable to load asset: "assets/translations/en.json".` error on opening the app)

### How to Reproduce

1. Install and launch the Appflowy desktop client
2. When an instance is open, uninstall it from settings
3. Notice the Uninstall Complete prompt (attached screenshot)
4. Now, launch the AppFlowy again from the start menu (one icon stays back even after uninstall, see : https://github.com/AppFlowy-IO/AppFlowy/issues/4813)
5. Notice the Grey screen with

### Expected Behavior

the app should ask the user to close the running instance of AppFlowy and then proceed to uninstallation

### Operating System

Windows 10

### AppFlowy Version(s)

0.5.0

### Screenshots

Uninstallation Complete Prompt:
![image](https://github.com/AppFlowy-IO/AppFlowy/assets/34713448/f399c5f4-4359-49d5-a74f-a50aac2715b2)

Re-Opening after uninstall:
![image](https://github.com/AppFlowy-IO/AppFlowy/assets/34713448/35975d72-94dc-43c4-94e0-68cb7a237f89)

### Additional Context

Due to this incomplete uninstallation, the app sometimes throws a few system error popups too, for which app needs to be re-installed

![image](https://github.com/AppFlowy-IO/AppFlowy/assets/34713448/985f5007-e098-49e8-9a10-5cace147f532)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.