Skip to content

Commit

Permalink
Fix B-Vars on new Session switch / set 0.8.7 as release-info / some c…
Browse files Browse the repository at this point in the history
…leanup
  • Loading branch information
Fragtality committed Jan 8, 2025
1 parent dfb9681 commit ef66452
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 17 deletions.
Binary file modified Install-PilotsDeck-latest.exe
Binary file not shown.
Binary file modified Installer/BuildTimestamp.cs
Binary file not shown.
2 changes: 1 addition & 1 deletion Installer/Installer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PublisherName>Fragtality</PublisherName>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>0.8.6.0</ApplicationVersion>
<ApplicationVersion>0.8.7.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>false</BootstrapperEnabled>
Expand Down
Binary file modified Installer/PilotsDeck-release.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions Installer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Fragtality")]
[assembly: AssemblyProduct("PilotsDeck Installer")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -37,8 +37,8 @@
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
// designspezifischen Ressourcenwörterbuch nicht gefunden werden kann.)
)]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
[assembly: AssemblyVersion("0.8.7.0")]
[assembly: AssemblyFileVersion("0.8.7.0")]


// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
Expand Down
4 changes: 2 additions & 2 deletions Plugin/PilotsDeck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<ApplicationIcon>Plugin\Images\PluginIcon.ico</ApplicationIcon>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Platforms>x64</Platforms>
<Version>0.8.6</Version>
<Version>0.8.7</Version>
<Title>PilotsDeck</Title>
<Authors>Fragtality</Authors>
<Description>Directly check &amp; control your FlightSim from the StreamDeck!</Description>
<Copyright>Copyright © 2024</Copyright>
<Copyright>Copyright © 2025</Copyright>
<PackageProjectUrl>https://github.com/Fragtality/PilotsDeck</PackageProjectUrl>
<PackageIcon>PluginIcon.png</PackageIcon>
<RepositoryUrl>https://github.com/Fragtality/PilotsDeck</RepositoryUrl>
Expand Down
3 changes: 1 addition & 2 deletions Plugin/Simulator/ConnectorMSFS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public async void Run()
if (!SimConnectManager.IsSessionReady && LastReadyState)
SimConnectManager.MobiModule?.ClearLvarList();

if (SimConnectManager.IsSessionReady)
SimConnectManager.EvaluateInputEvents();
SimConnectManager.EvaluateInputEvents();

if (SimState == SimulatorState.RUNNING && SimConnectManager.IsSimConnected && SimConnectManager.IsReceiveRunning)
{
Expand Down
5 changes: 0 additions & 5 deletions Plugin/Simulator/MSFS/SimConnectManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ enum PAUSE_FLAGS
public partial class SimConnectManager
{
public static SimConnect SimConnect { get; set; } = null;
protected Thread SimConnectThread { get; set; } = null;
public SimConnectInputEvents InputEvents { get; protected set; } = null;
public MobiModule MobiModule { get; protected set; } = null;

Expand All @@ -31,7 +30,6 @@ public partial class SimConnectManager
public bool IsReceiveRunning { get; protected set; } = false;
protected bool RunReceiveThread { get; set; } = false;
public static Mutex SimConnectMutex { get; protected set; } = new();
protected bool ReceiveError { get; set; } = false;
public bool QuitReceived { get; protected set; } = false;
public bool IsPaused { get; protected set; } = true;
public bool IsSessionReady { get { return IsCameraValid && !string.IsNullOrWhiteSpace(AircraftString); } }
Expand Down Expand Up @@ -85,7 +83,6 @@ public bool Connect()
}
catch (Exception ex)
{
SimConnectThread = null;
SimConnect = null;
IsSimConnectInitialized = false;
IsSimConnected = false;
Expand Down Expand Up @@ -114,7 +111,6 @@ public void Disconnect()
MobiModule?.Disconnect();

IsReceiveRunning = false;
ReceiveError = false;

if (SimConnect != null)
{
Expand Down Expand Up @@ -216,7 +212,6 @@ public void SimConnect_ReceiveMessage()
}
catch (Exception ex)
{
ReceiveError = true;
SimConnectMutex.TryReleaseMutex();
IsReceiveRunning = false;

Expand Down
2 changes: 1 addition & 1 deletion Plugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"Name": "PilotsDeck",
"Icon": "Plugin/Images/PluginIcon",
"URL": "https://github.com/Fragtality/PilotsDeck",
"Version": "0.8.6.0",
"Version": "0.8.7.0",
"SDKVersion": 2,
"Software": {
"MinimumVersion": "6.5"
Expand Down
4 changes: 2 additions & 2 deletions ProfileManager/ProfileManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<PlatformTarget>x64</PlatformTarget>
<StartupObject>ProfileManager.App</StartupObject>
<ApplicationIcon>PluginIcon.ico</ApplicationIcon>
<Version>0.8.6</Version>
<Version>0.8.7</Version>
<Authors>Fragtality</Authors>
<Description>Install Profiles and manage Profile Switching for PilotsDeck</Description>
<Copyright>Copyright © 2024</Copyright>
<Copyright>Copyright © 2025</Copyright>
<PackageProjectUrl>https://github.com/Fragtality/PilotsDeck</PackageProjectUrl>
<RepositoryUrl>https://github.com/Fragtality/PilotsDeck</RepositoryUrl>
<PackageIcon>PluginIcon.png</PackageIcon>
Expand Down
2 changes: 1 addition & 1 deletion release-info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.8.5
v0.8.7

0 comments on commit ef66452

Please sign in to comment.