Skip to content

Commit

Permalink
+ Metadaten und Icon der eLamX2 executables während des Buildprozesse…
Browse files Browse the repository at this point in the history
…s angepasst.

+ 32bit Executable entfernt
  • Loading branch information
AndiMb committed Jul 6, 2024
1 parent bf2efc1 commit b3bf48a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
Binary file added Resource/rcedit-x64.exe
Binary file not shown.
21 changes: 21 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@
<description>Builds the module suite eLamX2.</description>
<import file="nbproject/build-impl.xml"/>

<condition property="isWindows">
<os family="windows" />
</condition>

<target name="build-launchers" depends="suite.build-launchers">
<!-- Replace the icon for the Windows launcher exe. -->
<antcall target="replaceWindowsLauncherIcon"/>
</target>

<!-- Windows-only target that replaces the icon for the launcher exe with our own icon. -->
<target name="replaceWindowsLauncherIcon" if="isWindows" description="Replace the icon for the Windows launcher exe">
<echo message="Replacing icon of Windows launcher executable."/>
<tstamp>
<format property="builddate" pattern="yyyyMMdd"/>
</tstamp>
<delete file="build/launcher/bin/${app.name}.exe"/>
<exec executable="Resource/rcedit-x64.exe" resolveexecutable="true">
<arg line='build/launcher/bin/${app.name}64.exe --set-icon "Resource/${app.name}.ico" --set-file-version "1.0.0" --set-product-version "${elamxversion} - ${builddate}" --set-version-string "ProductName" "${app.name}" --set-version-string "LegalCopyright" "GPL - 2021 Technische Universität Dresden - Andreas Hauffe"'/>
</exec>
</target>

<target name="build" depends="build_view3d,suite.build">
</target>

Expand Down
2 changes: 1 addition & 1 deletion nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ run.args.extra=-J-Xms256m -J-Xmx512m -J-Xss2m -J-Dapple.laf.useScreenMenuBar=tr
#run.args.extra=-J-Dnetbeans.logger.console=false --nosplash --nogui -J-Djava.awt.headless=true -i"C:\\Users\\Andreas Hauffe\\Documents\\NetBeansProjects\\eLamX2\\Example_Files\\batchexample1.elamx" -o"test.txt" -J-Xms256m -J-Xmx512m -J-Xss2m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dhttps.protocols=TLSv1.2 -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED
app.conf=nbproject/elamx2.conf
elamxjdk.dir=jre
elamxversion=2.7
elamxversion=2.7.2

0 comments on commit b3bf48a

Please sign in to comment.