update with a new round of icons and about screen

This commit is contained in:
Ben Fry
2021-08-08 19:54:42 -04:00
parent 4fdb568b2e
commit 3effcae548
21 changed files with 22 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>@@sketch@@</string>
<key>CFBundleIconFile</key>
<string>sketch.icns</string>
<string>application.icns</string>
<key>CFBundleIdentifier</key>
<string>@@sketch@@</string>
<key>CFBundleDisplayName</key>
@@ -60,7 +60,7 @@
<key>JVMOptions</key>
<array>
@@jvm_options_list@@
<string>-Xdock:icon=$APP_ROOT/Contents/Resources/sketch.icns</string>
<string>-Xdock:icon=$APP_ROOT/Contents/Resources/application.icns</string>
<string>-Djava.library.path=$APP_ROOT/Contents/Java:$APP_ROOT/Contents/Java/core/library</string>
<string>-Dapple.laf.useScreenMenuBar=true</string>
<string>-Dcom.apple.macos.use-file-dialog-packages=true</string>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -710,8 +710,8 @@ public class JavaBuild {
File resourcesFolder = new File(contentsFolder, "Resources");
Util.copyDir(new File(contentsOrig, "Resources/en.lproj"),
new File(resourcesFolder, "en.lproj"));
Util.copyFile(mode.getContentFile("application/sketch.icns"),
new File(resourcesFolder, "sketch.icns"));
Util.copyFile(mode.getContentFile("application/application.icns"),
new File(resourcesFolder, "application.icns"));
} else if (exportPlatform == PConstants.LINUX) {
if (embedJava) {
@@ -940,7 +940,7 @@ public class JavaBuild {
File exeFile = new File(destFolder, sketch.getName() + ".exe");
config.addChild("outfile").setContent(exeFile.getAbsolutePath());
File iconFile = mode.getContentFile("application/sketch.ico");
File iconFile = mode.getContentFile("application/application.ico");
config.addChild("icon").setContent(iconFile.getAbsolutePath());
XML clazzPath = config.addChild("classPath");