Skip to content

Commit

Permalink
PPWA Rebranding.
Browse files Browse the repository at this point in the history
  • Loading branch information
SandeMC committed Mar 31, 2024
1 parent f0a3364 commit b9aa1bd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file modified Assets/ivlogo.ico
Binary file not shown.
Binary file modified Assets/ivlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/ivlogo256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions GTAIVDowngradeUtility/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:GTAIVDowngradeUtilityWPF"
mc:Ignorable="d"
Title="Gillian's GTA IV Downgrade Utility"
Title="Gillian's Peppa Pig: World Adventures Downgrade Utility"
SizeToContent="WidthAndHeight"
WindowStartupLocation="CenterScreen"
Icon="/Assets/ivlogo.png"
ResizeMode="NoResize">
<Grid>
<StackPanel Margin="5,5,5,5" Grid.ColumnSpan="2">
<TextBlock FontSize="28" TextWrapping="Wrap" HorizontalAlignment="Center">Gillian's GTA IV Downgrade Utility</TextBlock>
<TextBlock FontSize="28" TextWrapping="Wrap" HorizontalAlignment="Center">Gillian's PPWA Downgrade Utility</TextBlock>
<TextBlock x:Name="directorytxt" HorizontalAlignment="Left" Margin="0,5,0,0" TextWrapping="Wrap" Text="Set your game directory before using:" VerticalAlignment="Top" FontWeight="SemiBold" TextDecorations="Underline"/>
<StackPanel Orientation="Horizontal">
<TextBox HorizontalAlignment="Left" x:Name="gamedirectory" Margin="0,2,0,0" VerticalAlignment="Top" Width="354" IsEnabled="False"/>
Expand Down
6 changes: 3 additions & 3 deletions GTAIVDowngradeUtility/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public static void Main()
}
public MainWindow()
{
if (File.Exists("GTAIVDowngradeUtilityLog.txt")) { File.Delete("GTAIVDowngradeUtilityLog.txt"); }
if (File.Exists("PPWADowngradeUtilityLog.txt")) { File.Delete("PPWADowngradeUtilityLog.txt"); }
NLog.LogManager.Setup().LoadConfiguration(builder =>
{
builder.ForLogger().FilterMinLevel(LogLevel.Debug).WriteToFile(fileName: "GTAIVDowngradeUtilityLog.txt");
builder.ForLogger().FilterMinLevel(LogLevel.Debug).WriteToFile(fileName: "PPWADowngradeUtilityLog.txt");
});
Logger.Info(" Initializing the main window...");
InitializeComponent();
Expand Down Expand Up @@ -74,7 +74,7 @@ public MainWindow()
var proc = new ProcessStartInfo();
proc.UseShellExecute = true;
proc.WorkingDirectory = Environment.CurrentDirectory;
proc.FileName = Path.Combine(proc.WorkingDirectory, "GTAIVDowngradeUtilityWPF.exe");
proc.FileName = Path.Combine(proc.WorkingDirectory, "PPWADowngradeUtilityWPF.exe");
proc.Verb = "runas";
Process.Start(proc);
}
Expand Down

0 comments on commit b9aa1bd

Please sign in to comment.