- Change an "rm -rf" to "ynh_secure_remove" for the remove script.
- Add the config file to the backup and restore scripts.
- Fix incorrect "chmod" for the restore and upgrade scripts.
- Fix missing "architecture" variable for the upgrade script.
The bug occurred because the downloaded backend's file type was wrong. It was used as a binary file rather a zip file.
This commit also adds a clearer separation between backend and frontend in the scripts.