Skip to content

Commit 9a2fc2e

Browse files
committed
⚖ TOU Update
1 parent 32a5d47 commit 9a2fc2e

5 files changed

Lines changed: 12 additions & 16 deletions

File tree

Cloaks/DialogueBox.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
<Button x:Name="OKButton" Content="OK" Style="{DynamicResource hoverButton}" Click="OKButton_Click" Margin="0, 155, 20, 0" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="90" Height="40"/>
5151
<Button x:Name="CancelButton" Content="Cancel" Style="{DynamicResource hoverButton}" Click="CancelButton_Click" Margin="0, 155, 120, 0" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="90" Height="40"/>
52-
<Button Opacity="0" Visibility="Collapsed" x:Name="EULAButton" Content="EULA" Style="{DynamicResource hoverButton}" Click="EULAButton_Click" Margin="20, 155, 0, 0" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="90" Height="40"/>
52+
<Button Opacity="0" Visibility="Collapsed" x:Name="TermsButton" Content="Terms" Style="{DynamicResource hoverButton}" Click="TermsButton_Click" Margin="20, 155, 0, 0" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="90" Height="40"/>
5353
</Grid>
5454
</Border>
5555
</Grid>

Cloaks/DialogueBox.xaml.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public static bool ShowError(string title, string message, MainWindow main)
4646
return w.result;
4747
}
4848

49-
public static bool ShowEULA(MainWindow main)
49+
public static bool ShowTOU(MainWindow main)
5050
{
51-
DialogueBox w = new DialogueBox("Cloaks+ End User License Agreement", @"By clicking 'I Agree' below, you agree to the Cloaks+ End User License Agreement. To view the contents of the agreement, click the 'EULA' button below.", false, main, true);
51+
DialogueBox w = new DialogueBox("Cloaks+ Terms and Conditions of Use", @"By clicking 'I Agree' below, you agree to the Cloaks+ Terms and Conditions of Use. To view the contents of the agreement, click the 'Terms' button below.", false, main, true);
5252
w.Activate();
5353
w.ShowDialog();
5454

@@ -61,8 +61,8 @@ private void Box_Loaded(object sender, RoutedEventArgs e)
6161
DialogueMessage.Text = message;
6262
if (eula)
6363
{
64-
EULAButton.Opacity = 100;
65-
EULAButton.Visibility = Visibility.Visible;
64+
TermsButton.Opacity = 100;
65+
TermsButton.Visibility = Visibility.Visible;
6666
OKButton.Content = "I Agree";
6767
}
6868

@@ -110,7 +110,7 @@ private void CloseDialogue(bool result)
110110
Close();
111111
}
112112

113-
private void EULAButton_Click(object sender, RoutedEventArgs e)
113+
private void TermsButton_Click(object sender, RoutedEventArgs e)
114114
{
115115
Process.Start("https://cloaksplus.com/terms");
116116
}

Cloaks/MainWindow.xaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
Recent Updates:
5858
<LineBreak />
5959
<LineBreak />
60-
Automatically configure cape settings
60+
Update to Terms of Use
6161
<LineBreak />
62-
• Current version is v.1.4.5
62+
• Current version is v.1.4.6
6363
</TextBlock>
6464
</Grid>
6565
</Border>
@@ -91,7 +91,6 @@
9191
Cloaks+ is 'use at your own risk' with any third party Minecraft client, and is not guaranteed to work with all versions.
9292
</TextBlock>
9393

94-
9594

9695
<Button x:Name="InstallButton" Style="{DynamicResource installButton}" Click="InstallButton_Click" Margin="-220, 240, 0, 0">
9796
<Grid Style="{DynamicResource installButtonGrid}">
@@ -108,10 +107,6 @@
108107
</Button>
109108
</Grid>
110109
</Border>
111-
112-
113-
114-
115110
</Grid>
116111
</Border>
117112

@@ -142,7 +137,7 @@
142137
</Grid>
143138
</Button>
144139

145-
<Label Content="Cloaks+ v.1.4.5" Style="{StaticResource navVersion}" Margin="3, 0, 0, 3" Width="124" VerticalAlignment="Bottom"/>
140+
<Label Content="Cloaks+ v.1.4.6" Style="{StaticResource navVersion}" Margin="3, 0, 0, 3" Width="124" VerticalAlignment="Bottom"/>
146141
</Grid>
147142
</Border>
148143
</Grid>

Cloaks/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ private void CreditsFrame_Click(object sender, RoutedEventArgs e)
223223

224224
private void InstallButton_Click(object sender, RoutedEventArgs e)
225225
{
226-
bool result = DialogueBox.ShowEULA(this);
226+
bool result = DialogueBox.ShowTOU(this);
227227

228228
if (!result)
229229
{

Cloaks/app.manifest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
23
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3-
<assemblyIdentity version="1.4.5.0" name="Cloaks.app"/>
4+
<assemblyIdentity version="1.4.6.0" name="Cloaks.app"/>
45
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
56
<security>
67
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">

0 commit comments

Comments
 (0)