contributors parsing should work now?

This commit is contained in:
atomsk-0
2025-03-03 19:40:02 +02:00
parent 8ab5a74241
commit b2a49917a0
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
python -m venv BuildScripts\venv
BuildScripts\venv\Scripts\activate
python -m venv .\venv
call .\venv\Scripts\activate
pip install requests
py BuildScripts\contributors.py
py .\contributors.py

View File

@@ -1,7 +1,7 @@
import json
import os
f = open('Assets/contributors.txt', 'w+')
f = open(os.path.join(os.path.dirname(__file__), "..", "Assets", "contributors.txt"), "w+")
try:
import requests

View File

@@ -229,6 +229,7 @@
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="BuildScripts\build.bat" />
<Exec Command="build.bat" WorkingDirectory="$(ProjectDir)\BuildScripts" />
</Target>
</Project>