Skip to content

Commit

Permalink
show version information on form title
Browse files Browse the repository at this point in the history
  • Loading branch information
incheon-kim committed Jan 20, 2021
1 parent 37ce9f3 commit 94c5d7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions App/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public MainForm()
Gamma = appSetting.gamma;
DVL = appSetting.saturation;

var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
this.Text = String.Format("Tarkov Settings {0}", version);

// Saturation Initialize
if(GPUDevice.Vendor != GPUVendor.NVIDIA)
DVLGroupBox.Enabled = false;
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.1")]
[assembly: AssemblyFileVersion("1.1.1")]
3 changes: 3 additions & 0 deletions tarkov-settings.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
<PropertyGroup>
<ApplicationIcon>T.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Extensions.Configuration, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.Extensions.Configuration.5.0.0\lib\net461\Microsoft.Extensions.Configuration.dll</HintPath>
Expand Down

0 comments on commit 94c5d7a

Please sign in to comment.