The implementation steps for deleting a project by using a Applet
How does a applet delete a project?
The small program is very popular now. Maybe the front-end engineer has a spring approaching. Recently I learned this part of knowledge and also made some small demos. Here I will talk about how to delete the project of the small program.
The project created locally by the applet does not have the deletion function. I tried to find a cleanup method and only passed the Mac osx test. windows can solve the problem by itself based on the principle. The principle is estimated to be the same:
You can delete the Default value in the data folder. All values are cleared. After deletion, you must scan the QR code to log on again.
Mac osx directory:
$ HOME/Library/Application Support/web Developer tool/Default
Remember to confirm the execution result to avoid unnecessary losses. The following command backs up the current directory as a weapp-backup.tgz and then deletes the directory. If a file appears, it can be restored through backup:
DES = "$ HOME/Library/Application Support/web Developer Tools/Default" & tar cvzf weapp-backup.tgz "$ DES" & rm-rf "$ DES"
After execution:
Supplement:
Deleting the current project does not delete the actual code file. For example:
Thank you for reading this article. I hope it will help you. Thank you for your support for this site!