From 227559a7dfb9beead11cfd8fcc7ffd5b145e9d4b Mon Sep 17 00:00:00 2001 From: crschnick Date: Mon, 22 Jul 2024 03:08:45 +0000 Subject: [PATCH] macos dist fixes --- dist/jpackage.gradle | 2 +- dist/jpackage/Info.plist | 48 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 dist/jpackage/Info.plist diff --git a/dist/jpackage.gradle b/dist/jpackage.gradle index 5c0cb515..993e1501 100644 --- a/dist/jpackage.gradle +++ b/dist/jpackage.gradle @@ -119,7 +119,7 @@ task prepareMacOSInfo(type: DefaultTask) { doLast { file("${project.layout.buildDirectory.get()}/macos_resources").mkdirs() copy { - from replaceVariablesInFile("$projectDir/misc/mac/Info.plist", + from replaceVariablesInFile("$projectDir/jpackage/Info.plist", Map.of('__NAME__', rootProject.productName, '__VERSION__', diff --git a/dist/jpackage/Info.plist b/dist/jpackage/Info.plist new file mode 100644 index 00000000..5557a5ef --- /dev/null +++ b/dist/jpackage/Info.plist @@ -0,0 +1,48 @@ + + + + + CFBundleAllowMixedLocalizations + + CFBundleDevelopmentRegion + English + CFBundleExecutable + xpiped + CFBundleIconFile + xpiped.icns + CFBundleIdentifier + __BUNDLE__ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + __NAME__ + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleURLTypes + + + CFBundleURLName + io.xpipe.URLScheme + CFBundleURLSchemes + + xpipe + ssh + + + + LSApplicationCategoryType + public.app-category.developer-tools + LSMinimumSystemVersion + 10.11 + NSHighResolutionCapable + true + NSHumanReadableCopyright + Copyright (C) 2024 + CFBundleShortVersionString + __VERSION__ + CFBundleVersion + __VERSION__ + +