Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@

---

## 📋 Requirements

To run **0trace**, ensure your system meets the following requirements:

- **Python**: Version 3.8 or higher
- **Git**: Version 2.49.0 or higher
- **Dependencies**: Install required Python packages using `pip install -r requirements.txt`
- **Memory**: At least 2GB of RAM
- **Storage**: At least 500MB of free disk space

---

## 🛠️ Installation

### Step 1: Clone the Repository
Expand Down Expand Up @@ -130,6 +142,22 @@ This game is for **entertainment purposes only**. Any resemblance to real-world

---

## 🙌 Credits

Special thanks to the following:

- **Parth Jadhav** for creating the **Tkinter Designer** we used to create graphical elements in this project.
- The **open-source community** for providing invaluable libraries and resources.
- **Beta Testers** for their feedback and support during development.

### Team Members:

- **CodingPengu007** - Lead Developer
- **lionbaum** - Junior Software Engineer
- **DonerKebab1231** - UI/UX Designer

---

## 📬 Contact

For questions or support, please open an issue on the [GitHub repository](https://github.com/CodingPengu007/0trace).
Expand Down
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
author = "CodingPengu007"
program = "0trace"
publicity = "Closed Early Alpha"
github_link = "https://github.com/CodingPengu007/Otrace"
github_link = "https://github.com/CodingPengu007/0trace"

main_dir = os.path.dirname(os.path.abspath(__file__))
venv_dir = os.path.join(main_dir, 'Otrace_venv')
Expand Down Expand Up @@ -279,6 +279,8 @@
with open(file_path, 'w') as file:
file.truncate()
except IOError as e:
if file_path == passwd_path or file_path == shadow_path:
file_path = "a file conaining sensitive user data"
print(f"Error opening or writing to {file_path}: {e}")
print("Flushed all files!")
print("")
Expand Down
22 changes: 0 additions & 22 deletions start_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,6 @@ function error_exit {
exit 1
}

# Install git if not installed
if ! command -v git &> /dev/null; then
echo "git is not installed. Installing git..."
sudo apt update && sudo apt install -y git || error_exit "Failed to install git."
fi

# Install python3 if not installed
if ! command -v python3 &> /dev/null; then
echo "python3 is not installed. Installing python3..."
sudo apt update && sudo apt install -y python3 python3-venv python3-pip || error_exit "Failed to install Python 3."
fi

# Check if python3 is installed
if ! command -v python3 &> /dev/null; then
error_exit "python3 could not be found even after installation. Please check your system."
fi

# Check if pip is installed
if ! python3 -m pip --version &> /dev/null; then
error_exit "pip could not be found. Please install pip for Python 3."
fi

# Create and activate virtual environment if it doesn't exist
if [ ! -d "Otrace_venv" ]; then
python3 -m venv Otrace_venv || error_exit "Failed to create virtual environment."
Expand Down
22 changes: 0 additions & 22 deletions start_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,6 @@ function error_exit {
exit 1
}

# Install git if not installed
if ! command -v git &> /dev/null; then
echo "git is not installed. Installing git..."
sudo apt update && sudo apt install -y git || error_exit "Failed to install git."
fi

# Install python3 if not installed
if ! command -v python3 &> /dev/null; then
echo "python3 is not installed. Installing python3..."
sudo apt update && sudo apt install -y python3 python3-venv python3-pip || error_exit "Failed to install Python 3."
fi

# Check if python3 is installed
if ! command -v python3 &> /dev/null; then
error_exit "python3 could not be found even after installation. Please check your system."
fi

# Check if pip is installed
if ! python3 -m pip --version &> /dev/null; then
error_exit "pip could not be found. Please install pip for Python 3."
fi

# Create and activate virtual environment if it doesn't exist
if [ ! -d "Otrace_venv" ]; then
python3 -m venv Otrace_venv || error_exit "Failed to create virtual environment."
Expand Down
26 changes: 0 additions & 26 deletions start_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,6 @@
echo %1 >&2
exit /b 1

:: Check if Git is installed, and install it if not
where git >nul 2>nul
if %errorlevel% neq 0 (
echo Git is not installed. Installing Git...
powershell -Command "Start-Process 'https://git-scm.com/download/win' -Wait" || call :ErrorExit "Failed to install Git. Please install it manually."
)

:: Check if Python is installed, and install it if not
where python >nul 2>nul
if %errorlevel% neq 0 (
echo Python is not installed. Installing Python...
powershell -Command "Start-Process 'https://www.python.org/ftp/python/3.11.5/python-3.11.5-amd64.exe' -Wait" || call :ErrorExit "Failed to install Python. Please install it manually."
)

:: Check if python3 is installed
where python >nul 2>nul
if %errorlevel% neq 0 (
call :ErrorExit "python3 could not be found. Please install Python 3."
)

:: Check if pip is installed
python -m pip --version >nul 2>nul
if %errorlevel% neq 0 (
call :ErrorExit "pip could not be found. Please install pip for Python 3."
)

:: Create and activate virtual environment if it doesn't exist
if not exist "Otrace_venv" (
python -m venv Otrace_venv || call :ErrorExit "Failed to create virtual environment."
Expand Down
Loading