Skip to content

Commit f2e21b7

Browse files
committed
Changelog:
- Changed the names of the Visual Studio solution, project, namespace and local Git repository to "PC_Creator_Mod_Launcher". - Modified the HomePage.xaml file to remove the sidebar header from the home page. - Modified the implementation of the MainConfig class to account for a change made to the name of the main configuration file of the mod launcher.
1 parent b9d71d8 commit f2e21b7

15 files changed

+90
-106
lines changed

App.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Application x:Class="PC_Creator_Modloader.App"
1+
<Application x:Class="PC_Creator_Mod_Launcher.App"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
xmlns:local="clr-namespace:PC_Creator_Modloader"
4+
xmlns:local="clr-namespace:PC_Creator_Mod_Launcher"
55
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
66
StartupUri="MainWindow.xaml"
77
>

App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Threading.Tasks;
77
using System.Windows;
88

9-
namespace PC_Creator_Modloader
9+
namespace PC_Creator_Mod_Launcher
1010
{
1111
/// <summary>
1212
/// Interaction logic for App.xaml

HomePage.xaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<UserControl x:Class="PC_Creator_Modloader.HomePage"
1+
<UserControl x:Class="PC_Creator_Mod_Launcher.HomePage"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6-
xmlns:local="clr-namespace:PC_Creator_Modloader"
6+
xmlns:local="clr-namespace:PC_Creator_Mod_Launcher"
77
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
88
mc:Ignorable="d"
99
Height="auto" Width="auto"
@@ -42,13 +42,9 @@
4242

4343
<Grid.RowDefinitions>
4444
<RowDefinition Height="*"/>
45-
46-
<RowDefinition Height="10*"/>
4745
</Grid.RowDefinitions>
4846

49-
<TextBlock Name="SidebarHeaderTextBlock" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" FontWeight="Bold">PC Creator Modloader</TextBlock>
50-
51-
<ListView Name="SidebarButtonsListView" Grid.Row="1" Grid.Column="0" HorizontalContentAlignment="Stretch" Padding="0 0 0 0" BorderThickness="0">
47+
<ListView Name="SidebarButtonsListView" Grid.Row="0" Grid.Column="0" HorizontalContentAlignment="Stretch" Padding="0 0 0 0" BorderThickness="0">
5248
<ui:Button ui:Style="{StaticResource FluentUIBaseButtonTheme}">About</ui:Button>
5349

5450
<ui:Button ui:Style="{StaticResource FluentUIBaseButtonTheme}">Help</ui:Button>

HomePage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
1515

16-
namespace PC_Creator_Modloader
16+
namespace PC_Creator_Mod_Launcher
1717
{
1818
/// <summary>
1919
/// Interaction logic for HomePage.xaml

MainConfig.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
using System.Windows;
44
using Newtonsoft.Json;
55

6-
namespace PC_Creator_Modloader
6+
namespace PC_Creator_Mod_Launcher
77
{
88
public class MainConfig
99
{
10-
private const string defaultMainConfigFileName = "pc_creator_modloader_config.json";
10+
private const string defaultMainConfigFileName = "pc_creator_mod_launcher_config.json";
1111

1212
private const string defaultMainConfigFileRelativeFilePath = "/" + defaultMainConfigFileName;
1313

MainWindow.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<Window x:Class="PC_Creator_Modloader.MainWindow"
1+
<Window x:Class="PC_Creator_Mod_Launcher.MainWindow"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6-
xmlns:local="clr-namespace:PC_Creator_Modloader"
6+
xmlns:local="clr-namespace:PC_Creator_Mod_Launcher"
77
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
88
mc:Ignorable="d"
9-
Title="MainWindow" Height="450" Width="800" Loaded="OnMainWindowLoaded">
9+
Title="PC Creator Mod Launcher" Height="450" Width="800" Loaded="OnMainWindowLoaded">
1010
<ContentControl Name="MainContentControl">
1111

1212
</ContentControl>

MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using System.Windows.Media.Imaging;
1414
using System.Windows.Shapes;
1515

16-
namespace PC_Creator_Modloader
16+
namespace PC_Creator_Mod_Launcher
1717
{
1818
/// <summary>
1919
/// Interaction logic for MainWindow.xaml

PC_Creator_Modloader.csproj renamed to PC_Creator_Mod_Launcher.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{C12D5FA3-2205-4168-B021-0852006A33E0}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
9-
<RootNamespace>PC_Creator_Modloader</RootNamespace>
10-
<AssemblyName>PC_Creator_Modloader</AssemblyName>
9+
<RootNamespace>PC_Creator_Mod_Launcher</RootNamespace>
10+
<AssemblyName>PC_Creator_Mod_Launcher</AssemblyName>
1111
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

PC_Creator_Modloader.sln renamed to PC_Creator_Mod_Launcher.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.6.33723.286
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PC_Creator_Modloader", "PC_Creator_Modloader.csproj", "{C12D5FA3-2205-4168-B021-0852006A33E0}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PC_Creator_Mod_Launcher", "PC_Creator_Mod_Launcher.csproj", "{C12D5FA3-2205-4168-B021-0852006A33E0}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

PatchNotePreviewElement.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<UserControl x:Class="PC_Creator_Modloader.PatchNotePreviewElement"
1+
<UserControl x:Class="PC_Creator_Mod_Launcher.PatchNotePreviewElement"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6-
xmlns:local="clr-namespace:PC_Creator_Modloader"
6+
xmlns:local="clr-namespace:PC_Creator_Mod_Launcher"
77
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
88
mc:Ignorable="d"
99
d:DesignWidth="236"

PatchNotePreviewElement.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
1515

16-
namespace PC_Creator_Modloader
16+
namespace PC_Creator_Mod_Launcher
1717
{
1818
/// <summary>
1919
/// Interaction logic for PatchNotePreviewElement.xaml

Properties/Resources.Designer.cs

Lines changed: 52 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Properties/Settings.Designer.cs

Lines changed: 15 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SettingsPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<UserControl x:Class="PC_Creator_Modloader.SettingsPage"
1+
<UserControl x:Class="PC_Creator_Mod_Launcher.SettingsPage"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6-
xmlns:local="clr-namespace:PC_Creator_Modloader"
6+
xmlns:local="clr-namespace:PC_Creator_Mod_Launcher"
77
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
88
mc:Ignorable="d"
99
Height="auto" Width="auto"

SettingsPage.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using System.Windows.Controls;
1111
using System.IO.Compression;
1212

13-
namespace PC_Creator_Modloader
13+
namespace PC_Creator_Mod_Launcher
1414
{
1515
/// <summary>
1616
/// Interaction logic for SettingsPage.xaml
@@ -36,7 +36,7 @@ public partial class SettingsPage : UserControl
3636
private Uri bepInExLatestReleaseDownloadUri = null;
3737

3838
private GitHubClient gitHubClient = new GitHubClient(
39-
new ProductHeaderValue("pc-creator-modloader")
39+
new ProductHeaderValue("pc-creator-mod-launcher")
4040
);
4141

4242
private void OnSettingsPageLoaded(object sender, RoutedEventArgs e)

0 commit comments

Comments
 (0)