From 75e0fa2def59fbaeaac7d5445c45d73e5e94eb2c Mon Sep 17 00:00:00 2001 From: huangyuhui Date: Mon, 16 May 2016 18:10:30 +0800 Subject: [PATCH] Fixed mainClass of macAppBundle --- HMCL/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HMCL/build.gradle b/HMCL/build.gradle index 036cd4e04..6bc999f7d 100755 --- a/HMCL/build.gradle +++ b/HMCL/build.gradle @@ -83,6 +83,12 @@ task macAppCompressed(type: Zip, dependsOn: createApp) { from "$buildDir/macApp" } +macAppBundle { + mainClassName = mainClass + icon = "src/main/icon.icns" + javaProperties.put("apple.laf.useScreenMenuBar", "true") +} + sourceSets { main { java {