Add mod template and Python launch scripts
- Created a new workshop.txt file for a mod template in Project Zomboid, including version, title, description, tags, and visibility settings. - Added a PowerShell script (launch_py.ps1) to set up a Python virtual environment, install dependencies, and run the main script. - Added a shell script (launch_py.sh) for launching a Python script with a virtual environment on Unix-like systems. - Included a basic mod template for creating fallout new vegas esp templates
This commit is contained in:
3
storage/misc/python launch with cmd/launch_py.sh
Normal file
3
storage/misc/python launch with cmd/launch_py.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt && python3 main.py
|
||||
|
||||
# modify for your needs, this is just an example of how to launch a python script with a virtual environment and requirements.txt file. Make sure to adjust the paths and commands as necessary for your specific project.
|
||||
Reference in New Issue
Block a user