First Windows Version

This commit is contained in:
KAuser2094
2023-03-06 10:11:37 +00:00
parent 384784ffe6
commit f5280a1b1b
3 changed files with 14 additions and 14 deletions
+6 -10
View File
@@ -1,16 +1,12 @@
# Installs yolo in the user's home directory
# Installs yolo in the user's CMD directory ( change $CMD to desired file path )
TARGET_DIR=~/yolo-ai-cmdbot
TARGET_DIR=$CMD
TARGET_FULLPATH=$TARGET_DIR/yolo.py
mkdir -p $TARGET_DIR
cp yolo.py prompt.txt $TARGET_DIR
cp yolo.py $TARGET_DIR
cp prompt.txt $TARGET_DIR/yolo_prompt.txt #changed this so it doesnt conflict with possible future prompts
chmod +x $TARGET_FULLPATH
# Creates two aliases for use
alias yolo=$TARGET_FULLPATH
alias computer=$TARGET_FULLPATH
# Add the aliases to the logon scripts
echo "alias yolo=$TARGET_FULLPATH" >> ~/.bash_aliases
echo "alias computer=$TARGET_FULLPATH" >> ~/.bash_aliases
# Adds batch file to System32 so you can call it in powershell
cp yolo.bat C:/Windows/System32