mirror of
https://github.com/WinDurango/WinDurango.UI.git
synced 2026-01-31 00:55:24 +01:00
fix small bug and hopefully fix build script (venv)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -400,3 +400,4 @@ FodyWeavers.xsd
|
||||
|
||||
# Other
|
||||
Assets/contributors.txt
|
||||
/BuildScripts/venv
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
python -m venv BuildScripts\venv
|
||||
BuildScripts\venv\Scripts\activate
|
||||
pip install requests
|
||||
py BuildScripts\contributors.py
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user