Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dreamjz opened this issue Dec 18, 2023 · 2 comments
Labels

Comments

@dreamjz
Copy link
Contributor

dreamjz commented Dec 18, 2023

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
Copy link
Contributor

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants