Skip to content

Commit

Permalink
fixed versioning - should have been checked in to last build
Browse files Browse the repository at this point in the history
tiny tweak to better support Elite Dangerous
  • Loading branch information
Terence-D committed Feb 22, 2019
1 parent 95f03da commit 5aaab51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions GameInputCommandSystem/Controllers/VersionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public class VersionController : ApiController
public HttpResponseMessage Get()
{
Assembly assembly = Assembly.GetExecutingAssembly();
FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo(assembly.Location);
string version = fileVersionInfo.ProductVersion;
//FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo(assembly.Location);
string version = "1.3.0.0";// fileVersionInfo.ProductVersion;

return Request.CreateResponse(HttpStatusCode.OK, version, Configuration.Formatters.JsonFormatter);
}
Expand Down
2 changes: 1 addition & 1 deletion GameInputCommandSystem/GameInputCommandSystem.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.4.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
4 changes: 2 additions & 2 deletions GameInputCommandSystem/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// 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("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.0.0")]
[assembly: AssemblyVersion("1.4.0.1")]
[assembly: AssemblyFileVersion("1.4.0.1")]
1 change: 1 addition & 0 deletions GameInputCommandSystem/Views/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private void btnStart_Click(object sender, RoutedEventArgs e)
private void LoadSettings()
{
txtTarget.Items.Add("Star Citizen");
txtTarget.Items.Add("Elite - Dangerous (CLIENT)");
txtTarget.Text = Properties.Settings.Default.target;
if (txtTarget.Text == "")
txtTarget.Text = "Star Citizen";
Expand Down

0 comments on commit 5aaab51

Please sign in to comment.