mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[Installer] Use architecture value to decide which binaries to package
In the previous logic, the installer would silently ignore missing binaries. Instead it should error, if a binary is missing that should exist for this installer architecture. ref T344
This commit is contained in:
committed by
Klaus Basan
parent
48ee76f5cb
commit
0034d33b77
@@ -29,9 +29,11 @@
|
||||
<platformTest>
|
||||
<type>windows</type>
|
||||
</platformTest>
|
||||
<fileExists>
|
||||
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorfs9.dll</path>
|
||||
</fileExists>
|
||||
<compareText>
|
||||
<logic>equals</logic>
|
||||
<text>${architecture}</text>
|
||||
<value>32</value>
|
||||
</compareText>
|
||||
</shouldPackRuleList>
|
||||
</component>
|
||||
<component>
|
||||
@@ -62,9 +64,11 @@ This plugin acts as the interface between swift and FSX.</detailedDescription>
|
||||
<platformTest>
|
||||
<type>windows</type>
|
||||
</platformTest>
|
||||
<fileExists>
|
||||
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorfsx.dll</path>
|
||||
</fileExists>
|
||||
<compareText>
|
||||
<logic>equals</logic>
|
||||
<text>${architecture}</text>
|
||||
<value>32</value>
|
||||
</compareText>
|
||||
</shouldPackRuleList>
|
||||
</component>
|
||||
<component>
|
||||
@@ -95,9 +99,6 @@ This plugin acts as the interface between swift and P3D.</detailedDescription>
|
||||
<platformTest>
|
||||
<type>windows</type>
|
||||
</platformTest>
|
||||
<fileExists>
|
||||
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorp3d.dll</path>
|
||||
</fileExists>
|
||||
</shouldPackRuleList>
|
||||
</component>
|
||||
<component>
|
||||
|
||||
Reference in New Issue
Block a user