- Ensure the database is updated when modules are loaded, unloaded, or all modules are unloaded.
- On userbot start, fetch the list of modules from the database and load any missing modules.
* Ensure root execution
Added a check to ensure the script runs with root privileges, and prompt for the root password if necessary.
Package manager detection
Automatic package manager detection and installation commands. This change simplifies the installation process by automating the detection of the package manager and installing necessary packages accordingly. Added support for multiple package managers such as apt, apk, yum, and pacman.
Add repository cloning and environment setup in install.sh
Refactored install.sh to improve virtual environment setup, forbid it from executing apt commands without verifying apt presence, added loops for database and installation options.
Add repository cloning and environment setup in install.sh
Refactored install.sh to improve virtual environment setup, forbid it from executing apt commands without verifying apt presence, added loops for database and installation options.
* Update README format and streamline installation instructions
Reformatted sections for better readability, removed unnecessary </p>, replaced weird symbols with spaces
* spacing
* enhnace PM_PERMIT comment
* enhance git install instrunction
* Enhance repo existence check in installation script
Updated the condition to verify both the presence of the directory and essential files (.env.dist, main.py, modules) before proceeding in the existing repository path. This change ensures the script runs only if all required files are available, preventing errors during installation.
* Add user prompt for virtual environment creation
Introduce a prompt to let the user decide whether to create a virtual environment, providing guidance and the option to skip if needed.
* Fixed a typo in options for db_type
* Reorder script execution for better flow
Moved the execution of `install.py` to ensure configuration prompts occur before running the script.
* Update README.md
---------
Co-authored-by: Abhi <85984486+AbhiTheModder@users.noreply.github.com>