Added siege worlds logo and image
This commit is contained in:
parent
e4b496f8b5
commit
cac88090b0
@ -7,7 +7,7 @@
|
||||
<ProjectGuid>{AAB4BEB9-2995-4EC3-A57C-16D753A69739}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>HighGroundRoyaleLauncher</RootNamespace>
|
||||
<AssemblyName>HighGroundRoyaleLauncher</AssemblyName>
|
||||
<AssemblyName>SiegeWorldsLauncher</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
@ -34,6 +34,9 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>SW_Logo_NoBackground.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
@ -96,5 +99,14 @@
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="LoginScreen_Background.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="SW_Logo_NoBackground.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="SW_Logo_NoBackground.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
BIN
HighGroundRoyaleLauncher/Images/SW_Logo_NoBackground.ico
Normal file
BIN
HighGroundRoyaleLauncher/Images/SW_Logo_NoBackground.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
BIN
HighGroundRoyaleLauncher/LoginScreen_Background.jpg
Normal file
BIN
HighGroundRoyaleLauncher/LoginScreen_Background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 259 KiB |
@ -1,17 +1,27 @@
|
||||
<Window x:Class="HighGroundRoyaleLauncher.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="High Ground Royale Installer" Height="220" Width="500">
|
||||
Title="Siege Worlds Installer" Height="500
|
||||
" Width="500">
|
||||
|
||||
<Window.Background>
|
||||
<ImageBrush ImageSource="LoginScreen_Background.jpg" Stretch="UniformToFill"/>
|
||||
</Window.Background>
|
||||
|
||||
<Grid Margin="10">
|
||||
<StackPanel>
|
||||
<TextBlock Text="Choose Installation Directory:" Margin="0,0,0,5"/>
|
||||
<DockPanel>
|
||||
<TextBox Name="installPathBox" Width="380" Margin="0,0,5,0"/>
|
||||
<Button Content="Browse..." Width="80" Click="Browse_Click"/>
|
||||
</DockPanel>
|
||||
<TextBlock Name="statusText" Text="Status: Idle" Margin="0,10,0,10"/>
|
||||
<ProgressBar Name="progressBar" Height="20" Minimum="0" Maximum="100"/>
|
||||
<Button Name="installButton" Content="Install And Launch" Click="InstallButton_Click" Margin="0,10,0,0"/>
|
||||
</StackPanel>
|
||||
<Border Background="#AA000000" CornerRadius="8" Padding="10">
|
||||
<StackPanel>
|
||||
<TextBlock Text="Choose Installation Directory:" Foreground="White" Margin="0,0,0,5"/>
|
||||
|
||||
<DockPanel>
|
||||
<TextBox Name="installPathBox" Width="380" Margin="0,0,5,0"/>
|
||||
<Button Content="Browse..." Width="80" Click="Browse_Click"/>
|
||||
</DockPanel>
|
||||
|
||||
<TextBlock Name="statusText" Text="Status: Idle" Foreground="White" Margin="0,10,0,10"/>
|
||||
<ProgressBar Name="progressBar" Height="20" Minimum="0" Maximum="100"/>
|
||||
<Button Name="installButton" Content="Install And Launch" Click="InstallButton_Click" Margin="0,10,0,0"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -10,19 +10,19 @@ namespace HighGroundRoyaleLauncher
|
||||
{
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
private string remoteVersionURL = "http://147.93.30.25/HGR/HGRVersion.txt";
|
||||
private string remoteZipURL = "http://147.93.30.25/HGR/HGRBuild.zip";
|
||||
private string remoteVersionURL = "http://147.93.30.25/SW/SWVersion.txt";
|
||||
private string remoteZipURL = "http://147.93.30.25/SW/SeigeWorlds.zip";
|
||||
|
||||
private string installPath = "";
|
||||
private string zipPath => Path.Combine(installPath, "game.zip");
|
||||
private string versionPath => Path.Combine(installPath, "version.txt");
|
||||
private string gameFolder => Path.Combine(installPath, "Game");
|
||||
private string exePath => Path.Combine(gameFolder, "HighGroundRoyaleNetcode.exe");
|
||||
private string exePath => Path.Combine(gameFolder, "Siege Worlds.exe");
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
installPathBox.Text = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "HighGroundRoyale");
|
||||
installPathBox.Text = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Siege worlds");
|
||||
}
|
||||
|
||||
private void Browse_Click(object sender, RoutedEventArgs e)
|
||||
|
BIN
HighGroundRoyaleLauncher/SW_Logo_NoBackground.ico
Normal file
BIN
HighGroundRoyaleLauncher/SW_Logo_NoBackground.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Loading…
x
Reference in New Issue
Block a user