-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from bleuthoot-sven/junction-link
Added option to create junction links for CustomLevels and UserData
- Loading branch information
Showing
3 changed files
with
518 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
<Window x:Class="LegacyInstaller.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:LegacyInstaller" | ||
mc:Ignorable="d" | ||
ResizeMode="NoResize" | ||
Title="LegacyInstaller" Height="245" Width="410" Background="#FFF0F0F0"> | ||
<Grid> | ||
<Label x:Name="label2" Content="Beat Saber install folder:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,3,0,0" FontSize="10.5"/> | ||
<TextBox x:Name="bsPathTextBox" TextChanged="bsPathTextBox_TextChanged" HorizontalAlignment="Left" Height="37" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="275" Margin="12,25,0,0"/> | ||
<Button x:Name="bsPathBrowseButton" Click="bsPathBrowseButton_Click" Content="Browse..." HorizontalAlignment="Left" Cursor="Hand" VerticalAlignment="Top" Width="89" Margin="294,31,0,0"/> | ||
|
||
<Label x:Name="label3" Content="Steam install folder:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,62,0,0" FontSize="10.5"/> | ||
<TextBox x:Name="steamPathTextBox" TextChanged="steamPathTextBox_TextChanged" HorizontalAlignment="Left" Height="35" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="275" Margin="12,83,0,0"/> | ||
<Button x:Name="steamPathBrowseButton" Click="steamPathBrowseButton_Click" Content="Browse..." HorizontalAlignment="Left" Cursor="Hand" VerticalAlignment="Top" Width="89" Margin="294,89,0,0"/> | ||
|
||
<Label x:Name="label1" Content="Version:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="7,123,0,0" FontSize="10.7"/> | ||
<ComboBox x:Name="versionDropdown" SelectionChanged="versionDropdown_SelectedIndexChanged" HorizontalAlignment="Left" Height="20" Text="TextBox" VerticalAlignment="Top" Width="121" Margin="59,126,0,0"/> | ||
<Button x:Name="installButton" Content="Install" Click="installButton_Click" HorizontalAlignment="Left" Height="20" Cursor="Hand" FontSize="11.5" VerticalAlignment="Top" Width="89" Margin="187,126,0,0"/> | ||
<Label x:Name="installStateLabel" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,182,0,0" FontSize="10.5"/> | ||
|
||
<Label x:Name="downloadInfoLabel" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,152,0,0" FontSize="11" Initialized="downloadInfoLabel_Initialized"/> | ||
</Grid> | ||
</Window> | ||
<Window x:Class="LegacyInstaller.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:LegacyInstaller" | ||
mc:Ignorable="d" | ||
ResizeMode="CanMinimize" | ||
Title="LegacyInstaller" Height="245" Width="410" Background="#FFF0F0F0"> | ||
<Grid ToolTip="Create a link"> | ||
<Label x:Name="label2" Content="Beat Saber install folder:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,3,0,0" FontSize="10.5"/> | ||
<TextBox x:Name="bsPathTextBox" TextChanged="bsPathTextBox_TextChanged" HorizontalAlignment="Left" Height="20" TextWrapping="Wrap" VerticalAlignment="Top" Width="275" Margin="12,25,0,0"/> | ||
<Button x:Name="bsPathBrowseButton" Click="bsPathBrowseButton_Click" Content="Browse..." HorizontalAlignment="Left" Cursor="Hand" VerticalAlignment="Top" Width="89" Margin="294,25,0,0"/> | ||
|
||
<Label x:Name="label3" Content="Steam install folder:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,49,0,0" FontSize="10.5"/> | ||
<TextBox x:Name="steamPathTextBox" TextChanged="steamPathTextBox_TextChanged" HorizontalAlignment="Left" Height="20" TextWrapping="Wrap" VerticalAlignment="Top" Width="275" Margin="12,70,0,0"/> | ||
<Button x:Name="steamPathBrowseButton" Click="steamPathBrowseButton_Click" Content="Browse..." HorizontalAlignment="Left" Cursor="Hand" VerticalAlignment="Top" Width="89" Margin="294,70,0,0"/> | ||
|
||
<Label x:Name="label1" Content="Version:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,103,0,0" FontSize="10.7"/> | ||
<ComboBox x:Name="versionDropdown" SelectionChanged="versionDropdown_SelectedIndexChanged" HorizontalAlignment="Left" Height="20" Text="TextBox" VerticalAlignment="Top" Width="121" Margin="62,106,0,0"/> | ||
<Button x:Name="installButton" Content="Install" Click="installButton_Click" HorizontalAlignment="Left" Height="20" Cursor="Hand" FontSize="11.5" VerticalAlignment="Top" Width="89" Margin="190,106,0,0"/> | ||
<Label x:Name="installStateLabel" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="281,104,0,0" FontSize="10.5"/> | ||
|
||
<CheckBox x:Name="customLevelsLinkCheckbox" Content="Create link to custom levels" HorizontalAlignment="Left" Margin="10,132,0,0" VerticalAlignment="Top" IsChecked="True" ToolTip="Create a link to your main CustomLevels folder so that the custom songs are syned between installations."/> | ||
<CheckBox x:Name="userDataLinkCheckbox" Content="Create link to user data" HorizontalAlignment="Left" Margin="10,152,0,0" VerticalAlignment="Top" ToolTip="Create a link to your main UserData folder so that your mod settings are syned between installations. Might cause issues very old versions of mods are installed."/> | ||
|
||
<Label x:Name="downloadInfoLabel" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,181,0,0" FontSize="11" Initialized="downloadInfoLabel_Initialized"/> | ||
</Grid> | ||
</Window> |
Oops, something went wrong.