Skip to content

Commit

Permalink
Coherent version in installer and .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderz committed Sep 18, 2022
1 parent 8e1036f commit f01587d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Installer/WMPRemote-installer.iss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#include "../WMPRemote/WMPVersion.h"

#define MyAppName "WMPRemote"
#define MyAppVersion "1.5.0.3"
#define MyAppVersion WMP_VERSION
#define MyAppPublisher "Me"
#define MyAppURL "https://github.com/zanderz/WMPRemote"
#define MyAppExeName "WMPRemote.exe"
Expand Down
Binary file modified WMPRemote/WMPRemote.rc
Binary file not shown.
1 change: 1 addition & 0 deletions WMPRemote/WMPRemote.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="WMPRemote_i.h" />
<ClInclude Include="WMPVersion.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="WMPRemote.rc" />
Expand Down
3 changes: 3 additions & 0 deletions WMPRemote/WMPRemote.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
<ClInclude Include="SettingsDialog.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="WMPVersion.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="WMPRemote.rc">
Expand Down
2 changes: 2 additions & 0 deletions WMPRemote/WMPVersion.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#pragma once
#define WMP_VERSION "1.5.0.4"

0 comments on commit f01587d

Please sign in to comment.