Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure correct MacOS icon (.icns file) to be used by build-mac target #127

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**/dist/
**/private/

nbproject/packaging/
nbproject/packaging/
nbproject/**/tr-updates.zip

netbeans-plat/
Expand Down
5 changes: 5 additions & 0 deletions nbproject/packaging/macosx/etc-exclude-jre/trgtd-deDE.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default_mac_userdir="${HOME}/.thinkingrock/tr-3.7"
thegamer87 marked this conversation as resolved.
Show resolved Hide resolved

default_options="--locale de:DE --branding trgtd -J-client -J-Xms128m -J-Xmx512m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"

#jdkhome="/path/to/jre"
5 changes: 5 additions & 0 deletions nbproject/packaging/macosx/etc-exclude-jre/trgtd-enUS.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default_mac_userdir="${HOME}/.thinkingrock/tr-3.7"
thegamer87 marked this conversation as resolved.
Show resolved Hide resolved

default_options="--locale en:US --branding trgtd -J-client -J-Xms128m -J-Xmx512m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"

#jdkhome="/path/to/jre"
5 changes: 5 additions & 0 deletions nbproject/packaging/macosx/etc-exclude-jre/trgtd-esES.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default_mac_userdir="${HOME}/.thinkingrock/tr-3.7"
thegamer87 marked this conversation as resolved.
Show resolved Hide resolved

default_options="--locale es:ES --branding trgtd -J-client -J-Xms128m -J-Xmx512m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"

#jdkhome="/path/to/jre"
5 changes: 5 additions & 0 deletions nbproject/packaging/macosx/etc-exclude-jre/trgtd-frFR.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default_mac_userdir="${HOME}/.thinkingrock/tr-3.7"
thegamer87 marked this conversation as resolved.
Show resolved Hide resolved

default_options="--locale fr:FR --branding trgtd -J-client -J-Xms128m -J-Xmx512m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"

#jdkhome="/path/to/jre"
5 changes: 5 additions & 0 deletions nbproject/packaging/macosx/etc-exclude-jre/trgtd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default_mac_userdir="${HOME}/.thinkingrock/tr-3.7"
thegamer87 marked this conversation as resolved.
Show resolved Hide resolved

default_options="--branding trgtd -J-client -J-Xms128m -J-Xmx512m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"

#jdkhome="/path/to/jre"
20 changes: 20 additions & 0 deletions nbproject/packaging/macosx/productbuild/dist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
<pkg-ref id="au.com.trgtd.tr">
<bundle-version/>
</pkg-ref>
<title>ThinkingRock Application</title>
<license file="tr-license.txt"/>
thegamer87 marked this conversation as resolved.
Show resolved Hide resolved
<options customize="never" require-scripts="false"/>
<choices-outline>
<line choice="default">
<line choice="au.com.trgtd.tr"/>
</line>
</choices-outline>
<choice id="default"/>
<choice id="au.com.trgtd.tr" visible="false">
<pkg-ref id="au.com.trgtd.tr"/>
</choice>
<pkg-ref id="au.com.trgtd.tr" version="4.0.0" onConclusion="none" installKBytes="143006">#temp.pkg</pkg-ref>
<product version="4.0.0"/>
</installer-gui-script>
Empty file.
Binary file added nbproject/packaging/macosx/trgtd.icns
Binary file not shown.