Skip to content

Commit

Permalink
Build scripts updated to use playerglobal 32.0 where its applicable #116
Browse files Browse the repository at this point in the history
  • Loading branch information
rat-moonshine committed Feb 8, 2024
1 parent 46e31b4 commit b1d28c3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions MoonshineSDKInstaller/build/ApplicationProperties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@
<!-- FLEX SDK INFORMATION -->
<winSDKPath><![CDATA[]]></winSDKPath> <!-- Leave blank if FLEX_HOME setup as environment variable -->
<winSDKPath64><![CDATA[]]></winSDKPath64> <!-- Leave blank if FLEX_HOME setup as environment variable -->
<unixSDKPath><![CDATA[]]></unixSDKPath> <!-- Leave blank if FLEX_HOME setup as environment variable -->
<haxeLibDirectory><![CDATA[]]></haxeLibDirectory> <!-- Set path of system HAXE_HOME, i.e. c:/HaxeToolkit/haxe (Windows), /usr/local/lib/haxe (macOS) -->
<unixSDKPath><![CDATA[/Users/santanukarar/Downloads/MoonshineSDKs/Flex_SDK/Flex_4.16.1_AIR_33.1]]></unixSDKPath> <!-- Leave blank if FLEX_HOME setup as environment variable -->

This comment has been minimized.

Copy link
@piotrzarzycki21

piotrzarzycki21 Feb 8, 2024

Collaborator

@rat-moonshine remove your paths from this update.

This comment has been minimized.

Copy link
@rat-moonshine

rat-moonshine Feb 8, 2024

Collaborator

Yeah, already did.

<haxeLibDirectory><![CDATA[/usr/local/lib/haxe]]></haxeLibDirectory> <!-- Set path of system HAXE_HOME, i.e. c:/HaxeToolkit/haxe (Windows), /usr/local/lib/haxe (macOS) -->

<!-- USE FOLLOWING PROPERTIES SELF-SIGN PACKAGES FOR WINDOWS & MACOS -->
<certSelfSignedNameOnly><![CDATA[]]></certSelfSignedNameOnly>
<certSelfSigned><![CDATA[]]></certSelfSigned>
<certSelfSignedPass><![CDATA[]]></certSelfSignedPass>

<!-- USE FOLLOWING FIELDS ONLY TO BUILD SIGNED PACKAGES FOR WINDOWS & MACOS -->
<isSignedBuild>false</isSignedBuild> <!-- true|false --> <!-- Leave false if you're not sure or do not have requisite certificates -->
<isSignedBuild>true</isSignedBuild> <!-- true|false --> <!-- Leave false if you're not sure or do not have requisite certificates -->
<certSignedAIR><![CDATA[]]></certSignedAIR> <!-- Relative path to Adobe AIR certificate (.p12) distributed by signing authorities -->
<certSignedAIRPass><![CDATA[]]></certSignedAIRPass>
<certSignedWindowsBinary><![CDATA[]]></certSignedWindowsBinary> <!-- Relative path to Windows binary installer certificate (.p12) distributed by signer authorities -->
<certSignedWindowsBinaryPass><![CDATA[]]></certSignedWindowsBinaryPass>
<thumbprintSMWindowsBinary><![CDATA[]]></thumbprintSMWindowsBinary>
<certSignedDevIDKeychainName><![CDATA[]]></certSignedDevIDKeychainName> <!-- apple developer ID name as installed in keychain -->
<certSignedMacOSKeychainName><![CDATA[]]></certSignedMacOSKeychainName> <!-- apple developer certificate name as installed in keychain -->
<certSignedMacOSKeychainInstallerName><![CDATA[]]></certSignedMacOSKeychainInstallerName> <!-- apple installer certificate name as installed in keychain -->
<certSignedMacOSKeychainPass><![CDATA[]]></certSignedMacOSKeychainPass> <!-- keychain password is required to sign with installed certificate -->
<certSignedDevIDKeychainName><![CDATA[Developer ID Application: Prominic.NET, Inc.]]></certSignedDevIDKeychainName> <!-- apple developer ID name as installed in keychain -->
<certSignedMacOSKeychainName><![CDATA[3rd Party Mac Developer Application: Prominic.NET, Inc.]]></certSignedMacOSKeychainName> <!-- apple developer certificate name as installed in keychain -->
<certSignedMacOSKeychainInstallerName><![CDATA[3rd Party Mac Developer Installer: Prominic.NET, Inc.]]></certSignedMacOSKeychainInstallerName> <!-- apple installer certificate name as installed in keychain -->
<certSignedMacOSKeychainPass><![CDATA[D72fX84q]]></certSignedMacOSKeychainPass> <!-- keychain password is required to sign with installed certificate -->
</root>
2 changes: 1 addition & 1 deletion MoonshineSDKInstaller/build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
</exec>
</target>

<target name="CompileGUICore" depends="InstallHaxeDependencies">
<target name="CompileGUICore">
<echo>Compiling GUI Core SWC</echo>
<exec executable="${HAXE_LIB_DIRECTORY}/haxelib"
dir="${LibrarySDKInstallerHaxe}"
Expand Down
4 changes: 2 additions & 2 deletions MoonshineSDKInstaller/src/components/HelperInstaller.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
// fixing flex-configs
var flexConfig:File = installFolder.resolvePath("frameworks/flex-config.xml");
var flexConfigContent:String = FileUtils.readFromFile(flexConfig) as String;
flexConfigContent = flexConfigContent.replace(/<target-player>.*?<\/target-player>/g, "<target-player>50.2</target-player>");
flexConfigContent = flexConfigContent.replace(/<target-player>.*?<\/target-player>/g, "<target-player>32.0</target-player>");
FileUtils.writeToFile(flexConfig, flexConfigContent);
// fixing air-config
Expand All @@ -517,7 +517,7 @@
// fixing flex-sdk-description
flexConfig = installFolder.resolvePath("flex-sdk-description.xml");
flexConfigContent = FileUtils.readFromFile(flexConfig) as String;
flexConfigContent = flexConfigContent.replace(/FP\d+.\d+/, "FP50.2");
flexConfigContent = flexConfigContent.replace(/FP\d+.\d+/, "FP32.0");
flexConfigContent = flexConfigContent.replace(/AIR\d+.\d+/, "AIR50.2");
FileUtils.writeToFile(flexConfig, flexConfigContent);
Expand Down
6 changes: 3 additions & 3 deletions MoonshineSDKInstaller/src/installer/harman-air-installer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@
<replacefilter token="{playerglobalHome}/"
value="libs/player/"/>
<replacefilter token="&lt;target-player&gt;27.0&lt;/target-player&gt;"
value="&lt;target-player&gt;50.2&lt;/target-player&gt;"/>
value="&lt;target-player&gt;32.0&lt;/target-player&gt;"/>
<replacefilter token="&lt;swf-version&gt;38&lt;/swf-version&gt;"
value="&lt;swf-version&gt;50&lt;/swf-version&gt;"/>
value="&lt;swf-version&gt;43&lt;/swf-version&gt;"/>
</replace>
<replace file="${basedir}/flex-sdk-description.xml">
<replacefilter token="FP27.0"
value="FP50.2"/>
value="FP32.0"/>
<replacefilter token="AIR27.0"
value="AIR50.2"/>
</replace>
Expand Down

0 comments on commit b1d28c3

Please sign in to comment.