Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
rembound committed May 27, 2021
1 parent ca12f53 commit 26e92f6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 29 deletions.
11 changes: 4 additions & 7 deletions ArenaWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@
<controls:Flyout x:Name="FlyoutAbout" Header="About" CloseButtonVisibility="Collapsed" Position="Left" Width="480">
<StackPanel Margin="5">
<TextBlock Margin="10,5,10,15" FontWeight="SemiBold" FontSize="13" TextWrapping="Wrap">
<Run Text="Arena Helper " /><Run Text="{Binding StringVersion, Mode=OneWay}" /><Run Text=" was made by " /><Hyperlink NavigateUri="{Binding StringWebsite}" RequestNavigate="Hyperlink_RequestNavigate" Style="{StaticResource HyperlinkAboutStyle}">Rembound</Hyperlink>
<Run Text="Arena Helper " /><Run Text="{Binding StringVersion, Mode=OneWay}" /><Run Text=" was made by Rembound" />
<Run Text="with support from the community at GitHub." />
<Run Text="Thanks go out to Grinning Goat for providing " /><Hyperlink NavigateUri="{Binding StringTierList}" RequestNavigate="Hyperlink_RequestNavigate" Style="{StaticResource HyperlinkAboutStyle}">Hearthstone Arena Tier List</Hyperlink><Run Text="!" />
<Run Text="The Tier List which is used in Arena Helper was shut down by the creators, as a result there will be no more updates." />
<LineBreak /><LineBreak />
<Run Text="Thanks for your support!" />
</TextBlock>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button Name="AboutVisitWebsite" Content="rembound.com" Margin="0,0,0,0" Width="100" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutVisitWebsite_Click"/>
<Button Name="AboutVisitGitHub" Content="github" Width="60" Margin="10,0,0,0" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutVisitGitHub_Click"/>
<Button Name="AboutVisitGitHub" Content="github" Width="60" Margin="0,0,0,0" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutVisitGitHub_Click"/>
<Button Name="AboutButtonClose" Content="close" Width="60" Margin="10,0,0,0" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutButtonClose_Click"/>
</StackPanel>
</StackPanel>
Expand All @@ -90,13 +89,11 @@
<StackPanel Margin="5">
<TextBlock Margin="10,5,10,15" FontWeight="SemiBold" FontSize="13" TextWrapping="Wrap">
<Run Text="The tier list and card data was updated to the latest version." />
<Run Text="More info about the tier list can be found at: " /><Hyperlink NavigateUri="{Binding StringTierList}" RequestNavigate="Hyperlink_RequestNavigate" Style="{StaticResource HyperlinkAboutStyle}">Hearthstone Arena Tier List</Hyperlink>
<LineBreak /><LineBreak />
<Run Text="Thanks for your support!" />
</TextBlock>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button Name="DataUpdateWebsite" Content="rembound.com" Margin="0,0,0,0" Width="100" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutVisitWebsite_Click"/>
<Button Name="DataUpdateGitHub" Content="github" Width="60" Margin="10,0,0,0" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutVisitGitHub_Click"/>
<Button Name="DataUpdateGitHub" Content="github" Width="60" Margin="0,0,0,0" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="AboutVisitGitHub_Click"/>
<Button Name="DataUpdateClose" Content="close" Width="60" Margin="10,0,0,0" Height="30" Style="{DynamicResource SquareButtonStyle}" Click="DataUpdateClose_Click"/>
</StackPanel>
</StackPanel>
Expand Down
15 changes: 0 additions & 15 deletions ArenaWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,6 @@ public Card Card2
}
}

public string StringWebsite
{
get { return "https://rembound.com/?from=ArenaHelper"; }
}

public string StringTierList
{
get { return "https://thelightforge.com/TierList"; }
}

public string StringGitHub
{
get { return "https://github.com/rembound/Arena-Helper"; }
Expand Down Expand Up @@ -151,11 +141,6 @@ private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e
}

// About
private void AboutVisitWebsite_Click(object sender, RoutedEventArgs e)
{
Process.Start(StringWebsite);
}

private void AboutVisitGitHub_Click(object sender, RoutedEventArgs e)
{
Process.Start(StringGitHub);
Expand Down
8 changes: 4 additions & 4 deletions Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public string Name

public string Description
{
get { return "Arena Helper is a plugin for Hearthstone Deck Tracker that tries to detect heroes and cards when drafting a Hearthstone arena deck. Detected cards are displayed alongside the value of the card, that is specified in ADWCTA's Arena Tier List. The created deck can be saved to Hearthstone Deck Tracker.\n\nFor more information and updates, check out:\nhttps://github.com/rembound/Arena-Helper\nhttps://rembound.com"; }
get { return "Arena Helper is a plugin for Hearthstone Deck Tracker that tries to detect heroes and cards when drafting a Hearthstone arena deck. Detected cards are displayed alongside the value of the card, that is specified in the Arena Tier List. The created deck can be saved to Hearthstone Deck Tracker.\n\nFor more information and updates, check out:\nhttps://github.com/rembound/Arena-Helper"; }
}

public string ButtonText
Expand All @@ -211,12 +211,12 @@ public string ButtonText

public string Author
{
get { return "Rembound.com"; }
get { return "Rembound"; }
}

public Version Version
{
get { return new Version("0.9.5"); }
get { return new Version("0.9.6"); }
}

public MenuItem MenuItem
Expand Down Expand Up @@ -859,7 +859,7 @@ public async void OnUpdate()
try
{
// Check for plugin updates
CheckUpdate();
// CheckUpdate();
}
catch (Exception e)
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ More technical information about how the plugin used image recognition and how i

## Project Status

The Lightforge Arena Tier List which is used in Arena Helper was shut down by the creators, as a result there will be no more tier list updates.
The Lightforge Arena Tier List which is used in Arena Helper was shut down by the creators, as a result there will be no more updates.

Thanks for your support! :thumbsup:

Expand Down
2 changes: 1 addition & 1 deletion TestPlugin/TestPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public override string Name

public override string Author
{
get { return "Rembound.com"; }
get { return "Rembound"; }
}

public override Version Version
Expand Down
1 change: 0 additions & 1 deletion Update.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ public static async Task<bool> AutoUpdate(GithubRelease release)
}

// Clean up auto updater
// TODO: When coming from 0.8 and skipping a version, how to add new files (they are removed if not synced)
public static void CleanAutoUpdate()
{

Expand Down

0 comments on commit 26e92f6

Please sign in to comment.