From 8ab5a742410ef0637a041380ccd8aae16002449c Mon Sep 17 00:00:00 2001 From: Dexrn ZacAttack Date: Mon, 3 Mar 2025 08:13:57 -0800 Subject: [PATCH] fix small bug and hopefully fix build script (venv) --- .gitignore | 1 + BuildScripts/build.bat | 2 ++ Pages/AboutPage.xaml.cs | 6 +++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 903dd5f..1f5d3bc 100644 --- a/.gitignore +++ b/.gitignore @@ -400,3 +400,4 @@ FodyWeavers.xsd # Other Assets/contributors.txt +/BuildScripts/venv diff --git a/BuildScripts/build.bat b/BuildScripts/build.bat index 8a01464..8b668d0 100644 --- a/BuildScripts/build.bat +++ b/BuildScripts/build.bat @@ -1,2 +1,4 @@ +python -m venv BuildScripts\venv +BuildScripts\venv\Scripts\activate pip install requests py BuildScripts\contributors.py \ No newline at end of file diff --git a/Pages/AboutPage.xaml.cs b/Pages/AboutPage.xaml.cs index 49b09e2..6ba5b47 100644 --- a/Pages/AboutPage.xaml.cs +++ b/Pages/AboutPage.xaml.cs @@ -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));