MK01-OnlyRAT icon indicating copy to clipboard operation
MK01-OnlyRAT copied to clipboard

Standardize Installation

Open Mauzy0x00 opened this issue 1 year ago • 1 comments

Current

The installation.sh script moves the program files to the Home directory and creates an alias in .bashrc and .zshrc. This is not standard and can make things complex for a user that is not familiar with this. If installed many times the alias will be appended to the rc files.

This implementation

With this implementation the program files will still be moved to the users home directory but instead of appending an alias to the rc files we just create a wrapper script in /usr/local/bin/ that points to main.py in ~/.MK01-OnlyRAT/. Because /usr/local/bin/ is already in $PATH there is no need to add aliases.

Uninstall

Previously there was nothing in the uninstall function to remove the aliases. The update to this function reflects the installation change and will remove the wrapper script from /usr/local/bin/

Mauzy0x00 avatar Oct 07 '24 17:10 Mauzy0x00