Skip to content

Commit f422f13

Browse files
authored
feat: enhance script to support primary SOC start
1 parent a9251d8 commit f422f13

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

soc_installer.sh renamed to run.sh

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# Issues: https://github.com/OthersideAI/self-operating-computer/issues
66
# Requires: bash, curl/wget, python3, pip, git
77
#
8-
# Currently this only work on MacOS systems.
98
# Please open an issue if you notice any bugs.
109
#
1110
#
@@ -101,18 +100,7 @@ fi
101100
if ! command_exists git; then
102101
echo "Git not found. Installing Git..."
103102
install_packages git
104-
fi
105-
106-
# Check if the directory exists and is not empty
107-
if [ -d "self-operating-computer" ] && [ "$(ls -A self-operating-computer)" ]; then
108-
echo "Directory 'self-operating-computer' already exists and is not empty. Skipping clone operation..."
109-
else
110-
# Clone the repository
111-
run_script "git clone https://github.com/OthersideAI/self-operating-computer.git"
112-
fi
113-
114-
# Change directory
115-
cd self-operating-computer || { log_error "Unable to navigate to the project directory."; exit 1; }
103+
fi
116104

117105
# Create a Python virtual environment
118106
run_script "python3 -m venv venv"
@@ -164,4 +152,4 @@ fi
164152
echo "Installation complete. Enjoy using the Self-Operating Computer Framework!"
165153

166154
# Run the framework
167-
run_script "operate"
155+
run_script "operate"

0 commit comments

Comments
 (0)