Skip to content

Commit

Permalink
Removed some unsused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemill committed Apr 8, 2022
1 parent 721c7ba commit 3a47fcf
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 296 deletions.
18 changes: 0 additions & 18 deletions Heroesprofile.Uploader.Windows/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
<setting name="WindowWidth" serializeAs="String">
<value>700</value>
</setting>
<setting name="UploadToHotslogs" serializeAs="String">
<value>False</value>
</setting>
<setting name="DeleteAfterUpload" serializeAs="String">
<value>None</value>
</setting>
Expand All @@ -56,21 +53,6 @@
<setting name="PostMatchPage" serializeAs="String">
<value>False</value>
</setting>
<setting name="HPAPIEmail" serializeAs="String">
<value />
</setting>
<setting name="TwitchNickname" serializeAs="String">
<value />
</setting>
<setting name="HPKey" serializeAs="String">
<value />
</setting>
<setting name="HPAPIUserID" serializeAs="String">
<value>0</value>
</setting>
<setting name="HPTwitchExtension" serializeAs="String">
<value>False</value>
</setting>
</Heroesprofile.Uploader.Windows.Properties.Settings>
</userSettings>

Expand Down
3 changes: 0 additions & 3 deletions Heroesprofile.Uploader.Windows/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,8 @@ private void Application_Startup(object sender, StartupEventArgs e)
Manager.PostMatchPage = Settings.PostMatchPage;
}

if (ev.PropertyName == nameof(Settings.HPTwitchExtension)) {
}
};

Settings.HPTwitchValidated = TwitchSettingsValidator.Validate();

if (e.Args.Contains("--autorun") && Settings.MinimizeToTray) {
TrayIcon.Visible = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,9 @@
<SubType>Designer</SubType>
</Page>
<Compile Include="Program.cs" />
<Compile Include="TwitchExtensionValidationWindow.xaml.cs">
<DependentUpon>TwitchExtensionValidationWindow.xaml</DependentUpon>
</Compile>
<Compile Include="SettingsWindow.xaml.cs">
<DependentUpon>SettingsWindow.xaml</DependentUpon>
</Compile>
<Compile Include="TwitchSettingsValidator.cs" />
<Compile Include="UIHelpers\FilenameConverter.cs" />
<Compile Include="UIHelpers\FlagsConverter.cs" />
<Compile Include="UIHelpers\GenericValueConverter.cs" />
Expand All @@ -140,10 +136,6 @@
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="TwitchExtensionValidationWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="SettingsWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down
4 changes: 2 additions & 2 deletions Heroesprofile.Uploader.Windows/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.0")]
[assembly: AssemblyFileVersion("2.1.0")]
[assembly: AssemblyVersion("2.1.1")]
[assembly: AssemblyFileVersion("2.1.1")]
[assembly: AssemblyInformationalVersion("1.0.0")]
88 changes: 1 addition & 87 deletions Heroesprofile.Uploader.Windows/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions Heroesprofile.Uploader.Windows/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
<Setting Name="WindowWidth" Type="System.Int32" Scope="User">
<Value Profile="(Default)">700</Value>
</Setting>
<Setting Name="UploadToHotslogs" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="DeleteAfterUpload" Type="Heroesprofile.Uploader.Common.DeleteFiles" Scope="User">
<Value Profile="(Default)">None</Value>
</Setting>
Expand All @@ -47,20 +44,5 @@
<Setting Name="PostMatchPage" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="HPAPIEmail" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="TwitchNickname" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="HPKey" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="HPAPIUserID" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
</Setting>
<Setting Name="HPTwitchExtension" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>
2 changes: 1 addition & 1 deletion Heroesprofile.Uploader.Windows/SquirrelRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

5: CD to Installer directory

6: Squirrel --releasify=Heroesprofile.Uploader.2.1.0.nupkg --no-msi --setupIcon=uploader_icon_light.ico
6: Squirrel --releasify=Heroesprofile.Uploader.2.1.1.nupkg --no-msi --setupIcon=uploader_icon_light.ico
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<!-- Apply style to windows -->
<Style BasedOn="{StaticResource WindowStyle}" TargetType="{x:Type local:MainWindow}" />
<Style BasedOn="{StaticResource WindowStyle}" TargetType="{x:Type local:SettingsWindow}" />
<Style BasedOn="{StaticResource WindowStyle}" TargetType="{x:Type local:TwitchExtensionValidationWindow}" />

<!-- Heroesprofile specific brushes -->
<SolidColorBrush x:Key="UpdateAvailableTextBrush" Color="Orange" />
Expand Down

This file was deleted.

This file was deleted.

52 changes: 0 additions & 52 deletions Heroesprofile.Uploader.Windows/TwitchSettingsValidator.cs

This file was deleted.

0 comments on commit 3a47fcf

Please sign in to comment.