fix small bug and hopefully fix build script (venv)

This commit is contained in:
Dexrn ZacAttack
2025-03-03 08:13:57 -08:00
parent 796e24cc91
commit 8ab5a74241
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -400,3 +400,4 @@ FodyWeavers.xsd
# Other
Assets/contributors.txt
/BuildScripts/venv

View File

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

View File

@@ -18,9 +18,9 @@ namespace WinDurango.UI.Pages
foreach (var contributor in lines)
{
string[] info = contributor.Split(";");
string name = info[0];
string avatar = info[1];
string link = info[2];
string name = info[0].Replace("WD_CONTRIB_SEMICOLON", ";");
string avatar = info[1].Replace("WD_CONTRIB_SEMICOLON", ";");
string link = info[2].Replace("WD_CONTRIB_SEMICOLON", ";");
string contributionCount = info[3];
contributorList.Children.Add(new ContributorInfo(name, avatar, link));