semperai / amica

Amica is an open source interface for interactive communication with 3D characters with voice synthesis and speech recognition.
https://heyamica.com
MIT License
684 stars 111 forks source link

Feat: Is it possible to auto-create a new folder during the installation of Amica? #57

Open dreamjz opened 9 months ago

dreamjz commented 9 months ago

Installer Used: amica_0.2.0_x64-setup.exe

Issue

Due to my negligence, I forgot to create a new folder during the installation of Amica and I directly chose D:\Apps. Amica was installed in D:\Apps\.

When I uninstalled it, the uninstaller started deleting the entire APP folder. Fortunately, I terminated the process before my some important apps(like goland, unreal engine) was deleted, only some less-used apps and my Epic Games were removed. T_T

Because I'm used to Windows software installations, in which they usually create a new folder automatically, such as Goland, UE. When I install them, a new folder will be created automatically:

D:\Apps -> D:\Apps\Goland 20xx-xx\
D:\Apps -> D:\Apps\UE_5.3\

Possible Solutions

After reading some tauri docs, I came up with two possible solustions:

1. Customize the Windows installer

I think this is troublesome and it might be not in the scope of amica.

Because Tauri does not provide relevant configurations, it is necessary to use a custom NSIS script. Here are some docs I found:

2. Tell users to create a new folder

Add a note in the Amica documentation to remind users to create a new folder during installation to prevent the unintentional deletion of important files during uninstallation.

What do you think about it? >_<

kasumi-1 commented 9 months ago

Well that sucks. Glad it didn't do more damage. I merged the doc update, thanks. I'll leave this open, it would be nice to add some message to installer as well.

slowsynapse commented 7 months ago

Arbius has a $200 AIUS bounty for this issue!

Brief: Auto-create new folder during installing of Amica (Tauri)

Please read carefully:

To begin work on a bounty, reply by saying “I claim this bounty” - you will have 48 hours to submit your PR before someone else may attempt to claim this bounty.

To complete the bounty, within 48 hours of claiming, reply with a link to your PR referencing this issue and an Ethereum address. You must comply with reviewers comments and have the PR merged to receive the bounty reward. Please be sure to focus on quality submissions to minimize the amount of time reviewers must take.