Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
Removed social accounts from app
Browse files Browse the repository at this point in the history
No point anymore
  • Loading branch information
Ryochan7 committed Jul 26, 2023
1 parent 4dafeee commit e8681cd
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 76 deletions.
18 changes: 1 addition & 17 deletions DS4Windows/DS4Forms/About.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,9 @@
mc:Ignorable="d"
Title="{lex:LocExtension HotkeysAbout}" Height="450" Width="800"
Style="{DynamicResource WindowStyle}">
<Window.Resources>
<local:AboutImgPathLocations x:Key="aboutImgPathLocs" />
</Window.Resources>
<DockPanel>
<Label x:Name="headerLb" Content="DS4Windows - Ryochan7 Build (Version " DockPanel.Dock="Top" HorizontalAlignment="Center" />
<StackPanel Orientation="Horizontal" DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0,4,0,0">
<Button x:Name="githubSocialBtn" Click="GithubSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Cursor="Hand" ToolTip="GitHub">
<Image Source="{Binding GitHubImg, Source={StaticResource aboutImgPathLocs}}" Height="32" />
</Button>
<Button x:Name="youtubeSocialBtn" Click="YoutubeSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Cursor="Hand" ToolTip="YouTube">
<Image Source="/DS4Windows;component/Resources/social/youtube_social_icon_red.png" Height="32" />
</Button>
<Button x:Name="poastSocialBtn" Click="PoastSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{x:Null}" Height="32" Cursor="Hand" Margin="4,0,0,0" ToolTip="Poast">
<Image Source="/DS4Windows;component/Resources/social/poast_icon.png" />
</Button>
</StackPanel>

<TextBlock DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0,4,0,0">
<Hyperlink x:Name="changeLogLink" Click="ChangeLogLink_Click" Foreground="{DynamicResource AccentColor}">Changelog</Hyperlink>
</TextBlock>
Expand Down
36 changes: 0 additions & 36 deletions DS4Windows/DS4Forms/About.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ private void ElectrobrainsLink_Click(object sender, RoutedEventArgs e)
Util.StartProcessHelper("https://code.google.com/r/brianfundakowskifeldman-ds4windows/");
}

private void YoutubeSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessHelper("https://www.youtube.com/channel/UCIoUA_XLlCSZbvZGeg3Byeg");
}

private void GithubSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessHelper("https://github.com/Ryochan7/DS4Windows");
}

private void ViGEmBusLink_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessHelper("https://vigem.org/");
Expand Down Expand Up @@ -116,35 +106,9 @@ private void BuyCoffeeLink_Click(object sender, RoutedEventArgs e)
Util.StartProcessHelper("https://buymeacoffee.com/ryochan7");
}

private void PoastSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessHelper("https://poa.st/@DS4Windows");
}

private void CashAppLink_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessHelper("https://cash.app/$ryochan7");
}
}

public class AboutImgPathLocations
{
private string gitHubImg =
$"{Global.RESOURCES_PREFIX}/social/GitHub-Mark-64px.png";
public string GitHubImg { get => gitHubImg; }

public AboutImgPathLocations()
{
App current = App.Current as App;
if (current != null)
{
PopulateFromAppResources(current);
}
}

private void PopulateFromAppResources(App currentApp)
{
gitHubImg = $"{Global.RESOURCES_PREFIX}/social/{currentApp.FindResource("GitHubImg")}";
}
}
}
8 changes: 0 additions & 8 deletions DS4Windows/DS4WinWPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@
<!-- Apparently the None tags are needed as well as the Resource tags.
Without the None, app slowdown occurs for me. Why?!!! -->
<ItemGroup>
<None Include="Resources\social\GitHub-Mark-Light-64px.png" />
<None Include="Resources\social\GitHub-Mark-64px.png" />
<None Include="Resources\social\poast_icon.png" />
<None Include="Resources\social\youtube_social_icon_red.png" />

<None Include="Resources\DS4 Config_white.png" />
<None Include="Resources\newprofile_white.png" />
Expand Down Expand Up @@ -179,10 +175,6 @@
</ItemGroup>

<ItemGroup>
<Resource Include="Resources\social\GitHub-Mark-Light-64px.png" />
<Resource Include="Resources\social\GitHub-Mark-64px.png" />
<Resource Include="Resources\social\poast_icon.png" />
<Resource Include="Resources\social\youtube_social_icon_red.png" />

<Resource Include="Resources\DS4 Config_white.png" />
<Resource Include="Resources\newprofile_white.png" />
Expand Down
Binary file removed DS4Windows/Resources/social/GitHub-Mark-64px.png
Binary file not shown.
Binary file not shown.
Binary file removed DS4Windows/Resources/social/poast_icon.png
Binary file not shown.
Binary file not shown.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ Note: The Website Is No Longer Working
- Disable **PlayStation Configuration Support** and
**Xbox Configuration Support** options in Steam

## Social

[YouTube](https://www.youtube.com/channel/UCIoUA_XLlCSZbvZGeg3Byeg)
[Poast](https://poa.st/@DS4Windows)

### Other

[Backloggery](https://backloggery.com/ryochan7)

## Installation Tutorial

The Installation and Setup Guide can be found here: https://docs.ds4windows.app/guides/install-setup/
Expand Down Expand Up @@ -172,11 +163,7 @@ play. There are likely going to be times when I cannot directly test
against a game since I will not have access to play it. Most free to play
games or games that include a playable demo should be fine for testing.
For other games, it might be better if people could test against any game
that I have in my library and try to reproduce a problem. Here are
links to my Steam and GOG profiles so that people can see what games I have.

https://steamcommunity.com/id/Ryochan7/games/?tab=all
https://www.gog.com/u/Ryochan7/games
that I have in my library and try to reproduce a problem.

## Pull Requests

Expand All @@ -195,7 +182,6 @@ which to do so.
**Buy Me A Coffee:** https://buymeacoffee.com/ryochan7
**PayPal:** https://paypal.me/ryochan7
**Cash App:** https://cash.app/$ryochan7
**Patreon:** https://patreon.com/user?u=501036
**SubscribeStar:** https://subscribestar.com/ryochan7

### Crypto
Expand Down

0 comments on commit e8681cd

Please sign in to comment.