Skip to content

Commit

Permalink
Add some configuration options to work around jkhub.net being gone, i…
Browse files Browse the repository at this point in the history
…ncluding a configuration file for URLs/file hashes, and a form UI for customizing what JKVersions will do.
  • Loading branch information
The-MAZZTer committed Apr 2, 2021
1 parent 14bd136 commit bfacc57
Show file tree
Hide file tree
Showing 21 changed files with 1,052 additions and 230 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
JKVersions/bin
JKVersions/obj
JKVersions.vb/bin
JKVersions.vb/obj
JKVersions.vb/obj
*.user
/MZZT.Settings/bin
/MZZT.Settings/obj
10 changes: 8 additions & 2 deletions JKVersions.sln
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.12
# Visual Studio Version 16
VisualStudioVersion = 16.0.31129.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "JKVersions.vb", "JKVersions.vb\JKVersions.vb.vbproj", "{EE6F29A4-E366-4FFD-A87C-3AB93A1DC269}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JKVersions", "JKVersions\JKVersions.csproj", "{B5EC4B25-69C0-4778-94C9-15DBA37C5829}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MZZT.Settings", "MZZT.Settings\MZZT.Settings.csproj", "{A6E54B37-37D7-41C8-B577-AB137D533FBD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -21,6 +23,10 @@ Global
{B5EC4B25-69C0-4778-94C9-15DBA37C5829}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B5EC4B25-69C0-4778-94C9-15DBA37C5829}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B5EC4B25-69C0-4778-94C9-15DBA37C5829}.Release|Any CPU.Build.0 = Release|Any CPU
{A6E54B37-37D7-41C8-B577-AB137D533FBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A6E54B37-37D7-41C8-B577-AB137D533FBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A6E54B37-37D7-41C8-B577-AB137D533FBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A6E54B37-37D7-41C8-B577-AB137D533FBD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
28 changes: 18 additions & 10 deletions JKVersions/JKVersions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B5EC4B25-69C0-4778-94C9-15DBA37C5829}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MZZT.JKVersions</RootNamespace>
<RootNamespace>JkVersions</RootNamespace>
<AssemblyName>JKVersions</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
Expand All @@ -35,14 +35,18 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<StartupObject>JKVersions.Program</StartupObject>
<StartupObject>JkVersions.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainForm.cs" />
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="ProgressForm.cs">
<SubType>Form</SubType>
</Compile>
Expand All @@ -51,6 +55,10 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Settings.cs" />
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ProgressForm.resx">
<DependentUpon>ProgressForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -64,6 +72,7 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand All @@ -73,19 +82,18 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Resources\JK.1.0.1.sha1" />
<None Include="Resources\JK.1.0.sha1" />
<None Include="Resources\JK.Unofficial.Patch.2008.01.16.sha1" />
<None Include="Resources\JK_Steam_hash.sha1" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\7za.exe" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\7za_license.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MZZT.Settings\MZZT.Settings.csproj">
<Project>{a6e54b37-37d7-41c8-b577-ab137d533fbd}</Project>
<Name>MZZT.Settings</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

0 comments on commit bfacc57

Please sign in to comment.