From 4f08e7cc0e9bc7e1bd7f4d74f9b7f5aaf2cf95ea Mon Sep 17 00:00:00 2001 From: KAuser2094 Date: Mon, 6 Mar 2023 12:42:42 +0000 Subject: [PATCH] Better bat file and remove redundant allias --- install.sh | 10 ---------- yolo.bat | 4 +--- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/install.sh b/install.sh index ea61ddf..f46023e 100644 --- a/install.sh +++ b/install.sh @@ -20,13 +20,3 @@ echo "alias computer=$TARGET_FULLPATH" >> ~/.bash_aliases # Windows # Copy yolo.bat to System32 or Home Directory : cp yolo.bat ~ - - -# (This doesn't work, havent figured it out) -# 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 \ No newline at end of file diff --git a/yolo.bat b/yolo.bat index f68cd91..cb25983 100644 --- a/yolo.bat +++ b/yolo.bat @@ -3,6 +3,4 @@ REM Work around to not have to type in python.exe yolo.py every time. REM Put in C:/Windows/System32 to allow command to work anywhere -set /P "prompt=Enter Prompt: " -cd ~ -python.exe yolo-ai-cmdbot/yolo.py %prompt% \ No newline at end of file +python.exe yolo-ai-cmdbot/yolo.py %1 \ No newline at end of file