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:
5
storage/misc/python launch with cmd/launch_py.ps1
Normal file
5
storage/misc/python launch with cmd/launch_py.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
python -m venv venv; .\venv\Scripts\activate; pip install -r requirements.txt; python main.py
|
||||
pause
|
||||
|
||||
|
||||
# This script creates a virtual environment, activates it, installs the required packages from requirements.txt, and then runs the main.py script. Finally, it pauses the command prompt so you can see any output before it closes.
|
||||
Reference in New Issue
Block a user